Jump to content

Recommended Posts

Posted

Voi pune o comanda inutila zic eu dar va o pun, o sa o pun in special pentru admini, deoarece aveti un server la inceput si aveti foarte multi codati si vreti sa scapati de ei fara a le da ban ( pentru a nu iti pierde playerii ) ii poti da un mic "/crash", iar acesta poate va crede ca e de la cod *newbie:))*

CMD:crash(playerid, params[])
{
	if(playerVariables[playerid][pAdminLevel] >= 1)
	{
		new id,giveplayer[MAX_PLAYER_NAME],string[256];
		if (sscanf(params, "u",id)) return SendClientMessage(playerid, COLOR_GREY, SYNTAX_MESSAGE"/crash [playerid]");
        {
		    if(IsPlayerConnected(id))
		    {
		        if(id != INVALID_PLAYER_ID)
		        {
			        new Float:X, Float:Y, Float:Z;
			        GetPlayerName(id, giveplayer, sizeof(giveplayer));
			        GetPlayerPos(id,X,Y,Z);
			        new objectcrash = CreatePlayerObject(id,11111111,X,Y,Z,0,0,0);
			        DestroyObject(objectcrash);

						GameTextForPlayer(id, "•¤¶§!$$%&'()*+,-./01~!@#$^&*()_-+={[}]:;'<,>.?/", 1000, 0);
						GameTextForPlayer(id, "•¤¶§!$$%&'()*+,-./01~!@#$^&*()_-+={[}]:;'<,>.?/", 2000, 1);
						GameTextForPlayer(id, "•¤¶§!$$%&'()*+,-./01~!@#$^&*()_-+={[}]:;'<,>.?/", 3000, 2);
						GameTextForPlayer(id, "•¤¶§!$$%&'()*+,-./01~!@#$^&*()_-+={[}]:;'<,>.?/", 4000, 3);
						GameTextForPlayer(id, "•¤¶§!$$%&'()*+,-./01~!@#$^&*()_-+={[}]:;'<,>.?/", 5000, 4);
						GameTextForPlayer(id, "•¤¶§!$$%&'()*+,-./01~!@#$^&*()_-+={[}]:;'<,>.?/", 6000, 5);
						GameTextForPlayer(id, "•¤¶§!$$%&'()*+,-./01~!@#$^&*()_-+={[}]:;'<,>.?/", 7000, 6);

					format(string, sizeof(string), "You have crashed \"%s's\" game", giveplayer);
			  		SendClientMessage(playerid,COLOR_DBLUE, string);
					return 1;
				}
			}
		}
	}
	return 1;
}
Posted

De aceeaşi părere sunt şi eu, decât să stai să le dai crash mai bine le-ai dat ban, am mai împuţina din ei, nu se învaţă minte dacă le dai crash.

Posted

Daca as avea server, le-as da ban.

Mai bine joc cu 20 playeri care joaca corect decat 50 si codati, strica frumusetea jocului.

Posted

Comanda inutila, zic, pentru ca, se va abuza de ea, adica un admin ia un player la teste, iar altul, se face ca da crash acelui player, si va dati seama ce va fi.

  • 5 years later...
Posted

D:\gamemode\gamemodes\rpg.pwn(18246) : error 001: expected token: ";", but found "]"
D:\gamemode\gamemodes\rpg.pwn(18246) : error 029: invalid expression, assumed zero
D:\gamemode\gamemodes\rpg.pwn(18246) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
[Finished in 40.0s with exit code 1]
[cmd: ['pawncc.exe', '-i includes', 'D:\\gamemode\\gamemodes\\rpg.pwn', '-;+']]
[dir: D:\gamemode\gamemodes]
[path: C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\WINDOWS\System32\OpenSSH\;C:\Users\gagiu\AppData\Local\Microsoft\WindowsApps;]

  • 5 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

moduri samp