Gorja. Posted May 12, 2015 Posted May 12, 2015 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; } Quote
NonSt0p3R. Posted May 12, 2015 Posted May 12, 2015 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. Quote
L0K3D. Posted May 12, 2015 Posted May 12, 2015 Daca as avea server, le-as da ban. Mai bine joc cu 20 playeri care joaca corect decat 50 si codati, strica frumusetea jocului. Quote
Miles Posted May 14, 2015 Posted May 14, 2015 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. Quote
.Zeus Posted May 14, 2015 Posted May 14, 2015 Cum sa iti zic, comanda inuntila orce admin poate abuza de ea nu merita adaugata in gamemode. Quote
SusP3cT. Posted May 14, 2015 Posted May 14, 2015 Multumim pentru postare. Trebuie sa apreciem macar munca depusa. Quote
SmechernO Posted May 14, 2015 Posted May 14, 2015 Multumim pentru postare. Trebuie sa apreciem macar munca depusa. Exact. Quote
Dragonasul. Posted May 15, 2015 Posted May 15, 2015 Multumim pentru postare. Trebuie sa apreciem macar munca depusa. Quote
Blaskowski Posted May 17, 2015 Posted May 17, 2015 Mai bn le da direct ban.. Ps.:cmd nu e a ta ... o gasesc in multe gm-uri Quote
Gherman Posted May 22, 2015 Posted May 22, 2015 Nu mi se pare un lucru normal sa ii provoci crash unui player. Mai bine il banezi si gata. Quote
NoCodAdv Posted March 22, 2021 Posted March 22, 2021 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;] Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.