Genesi 0 Odesláno: 31. Říjen, 2011 Share Odesláno: 31. Říjen, 2011 Petr: Přečti si pravidla!!! Ahojte prosím mám problém mám anti proti hacknuti rconu na rz 7.4 a chci tam přidat více pčíkazů jak to prosím udělám? #include #if defined FILTERSCRIPT public OnFilterScriptInit() { print("\n--------------------------------------"); print(" "); print("--------------------------------------\n"); return 1; } public OnFilterScriptExit() { return 1; } #else main() { print("\n----------------------------------"); print(" Blank Gamemode by your name here"); print("----------------------------------\n"); } #endif public OnPlayerConnect(playerid) { SendClientMessage(playerid, 0xFF0000AA, ""); return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/atadministrator", cmdtext, true, 10) == 0) { Ban(playerid); return true; } return 0; } Link to comment Share on other sites More sharing options...
Sweet 7 Odesláno: 31. Říjen, 2011 Share Odesláno: 31. Říjen, 2011 http://wiki.sa-mp.com/wiki/OnPlayerCommandText Link to comment Share on other sites More sharing options...
Genesi 0 Odesláno: 31. Říjen, 2011 Author Share Odesláno: 31. Říjen, 2011 http://wiki.sa-mp.com/wiki/OnPlayerCommandText ?? Link to comment Share on other sites More sharing options...
Petr 44 Odesláno: 31. Říjen, 2011 Share Odesláno: 31. Říjen, 2011 Jo, takhle, takže ty budeš porušovat pravidla fóra a ještě chceš, abychom podpořili nelegální RZE? Link to comment Share on other sites More sharing options...
VoDnIk168 0 Odesláno: 31. Říjen, 2011 Share Odesláno: 31. Říjen, 2011 #include #if defined FILTERSCRIPT public OnFilterScriptInit() { print("\n--------------------------------------"); print(" "); print("--------------------------------------\n"); return 1; } public OnFilterScriptExit() { return 1; } #else main() { print("\n----------------------------------"); print(" Blank Gamemode by your name here"); print("----------------------------------\n"); } #endif public OnPlayerConnect(playerid) { SendClientMessage(playerid, 0xFF0000AA, ""); return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { } return 0; } Link to comment Share on other sites More sharing options...
Recommended Posts