06.06.2015, 10:56
PHP код:
switch(strval(text))//Switch through the number they type in.
{
case 1: GivePlayerWeapon(playerid,22,50);//Give the player the weapon they typed the option for
SendClientMessage(playerid, green,"You have purchased 9mm for $2,500");
GivePlayerMoney(playerid, -2500);
}