on money
#3

It is GetPlayerMoney,not GetPlayerCash,so here it is if you want to use to more things in your script
pawn Код:
new playermoney = GetPlayerMoney(playerid); // now you can use it where you want in your script,you don`t must always write GetPlayerMoney blah blah

if(playermoney =< /* price you want */)
{
    //effect (Player can`t afford)
}
else
{
    //effect (Player can afford)
}
Reply


Messages In This Thread
on money - by Sin- - 06.06.2009, 11:03
Re: on money - by [HiC]TheKiller - 06.06.2009, 11:57
Re: on money - by Luka P. - 06.06.2009, 12:12
Re: on money - by Correlli - 06.06.2009, 12:40
Re: on money - by Luka P. - 06.06.2009, 12:42
Re: on money - by Sin- - 06.06.2009, 12:43
Re: on money - by Luka P. - 06.06.2009, 12:49
Re: on money - by Correlli - 06.06.2009, 12:50
Re: on money - by Luka P. - 06.06.2009, 12:53
Re: on money - by Correlli - 06.06.2009, 12:56

Forum Jump:


Users browsing this thread: 1 Guest(s)