13.03.2012, 18:17
So, recently I added some commands to my script, pawno compiled them fine and I uploaded them and it says "Unknown command".
If you could help me, that'd be awesome.
I'm using vortex roleplay 2, and I've added it to the bottom of the script.
I'm also a newb to pawno...so..
If you could help me, that'd be awesome.
Код:
CMD:knife(playerid, params[]) { if(playerVariables[playerid][pGroup] == 10); SpawnPlayerWeapon(playerid, 4, 1); } return 1; } CMD:resetbook(playerid, params[]) { if(playerVariables[playerid][pPhoneBook] == 1}; playerVariables[playerid][pPhoneBook] == 1; return 1; } CMD:requestevent(playerid, params[]) { if(playerVariables[playerid][pAdminLevel] >= 3; SendClientMessage(playerid, COLOUR_ORANGE, "%d has requested an event, /pm them to find out more information.", playerid); } }
I'm also a newb to pawno...so..