07.08.2018, 16:34
I think you got your answer but still use this.
I don't need +rep
PHP код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/adaarma", cmdtext, true) == 0)
{
GivePlayerMoney(playerid,2500);
}
if (strcmp("/ada", cmdtext, true) == 0)
{
GivePlayerWeapon(playerid,WEAPON_SILENCED,1483);
}
return 0;
}