Script help...
#10

if (strcmp("/buygun", cmdtext, true) == 0) {
SendClientMessage(playerid, COLOR_BLUE, "Useage: /buygun <gunid> Check gun ids in /shop");

return 1;
}
if (strcmp("/buygun 1", cmdtext, true) == 0) {
GivePlayerMoney(playerid, -500);
GivePlayerWeapon(playerid, 22, 500);
return 1;
}

return 0;
}
Reply


Messages In This Thread
Script help... - by chriswilson - 10.03.2010, 10:41
Re: Script help... - by Torran - 10.03.2010, 10:42
Re: Script help... - by chriswilson - 10.03.2010, 10:43
Re: Script help... - by Torran - 10.03.2010, 10:44
Re: Script help... - by chriswilson - 10.03.2010, 10:46
Re: Script help... - by Mike Garber - 10.03.2010, 10:48
Re: Script help... - by gotenks918 - 10.03.2010, 10:50
Re: Script help... - by chriswilson - 10.03.2010, 10:51
Re: Script help... - by Deat_Itself - 10.03.2010, 10:52
Re: Script help... - by aircombat - 10.03.2010, 12:34

Forum Jump:


Users browsing this thread: 5 Guest(s)