04.05.2013, 05:44
how to make a command that allows to get some guns. I made a command like this
public OnPlayerCommandText(playerid, cmdtext[])
But I only get weapon 1 and 5. HELP
public OnPlayerCommandText(playerid, cmdtext[])
Код:
{
if (strcmp("/fullgun", cmdtext, true, 10) == 0)
{
GivePlayerWeapon(playerid, 1, 20);
GivePlayerWeapon(playerid, 2, 20);
GivePlayerWeapon(playerid, 3, 20);
GivePlayerWeapon(playerid, 4, 20);
GivePlayerWeapon(playerid, 5, 20);
return 1;
}
return 0;
}

