Quote:
Originally Posted by bathushan
Lol i just want to ask this... Please can you Make this to zcmd pls. Please!!!!
PHP код:
if (strcmp("/cop", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, soldiercolor, "You are now on the cop team");
pTeam[playerid] = team_cop;
SetPlayerSkin(playerid, 281);
GivePlayerWeapon(playerid, 17, 10);
SetPlayerPos(playerid, 309, 2060, 18);
return 1;
}
If posible Explain me?
Please!
|
There's nothing to explain:
pawn Код:
CMD:cop(playerid)
{
SendClientMessage(playerid, soldiercolor, "You are now on the cop team");
pTeam[playerid] = team_cop;
SetPlayerSkin(playerid, 281);
GivePlayerWeapon(playerid, 17, 10);
SetPlayerPos(playerid, 309, 2060, 18);
return 1;
}
I've only changed the Command Processor, nothing else, the command is too simple to change anything else..