29.10.2011, 19:04
Who can help me?
- I want someone that can give me a WORKING example of a admin command
For example how could i make this a admin command
How to make ONLY admins use this command. And when someone else try to use it, there should be:
Dont forget, +rep to the guy that helps me, and make a example of it down in description.
- cruteX
- I want someone that can give me a WORKING example of a admin command
For example how could i make this a admin command
pawn Код:
if (strcmp("/minigun", cmdtext, true, 10) == 0)
{
//Give's you a minigun
GivePlayerWeapon(playerid, 38, 500);
SendClientMessage(playerid, 0xFFFFFFAA, "You've got a minigun!");
return 1;
}
pawn Код:
SendClientMessage(playerid, SOME_COLOR, "You are not admin - Only admins can use this command");
- cruteX