just an example code
#2

PHP код:
Command:buy(playerid,params[])
{
if(
choclate >= 1)//if he have 1 or more
{
GivePlayerMoney(playerid,5);
choclate --;//subtract 1
}

Reply


Messages In This Thread
just an example code - by Fernado Samuel - 13.01.2013, 20:47
AW: just an example code - by BiosMarcel - 13.01.2013, 20:56
Re: just an example code - by Kontrol - 13.01.2013, 21:00
Re: just an example code - by Mr.Anonymous - 13.01.2013, 21:13

Forum Jump:


Users browsing this thread: 1 Guest(s)