Problem with giveplayerMoney to right person
#8

Oh i know your problem pretty well, am so sure that you've SetTimer and not SetTimerEx.
Your timer is set something like this
pawn Код:
SetTimer("Robbed",9000,0);
And then you used
pawn Код:
forward Robbed(playerid);
public Robbed(playerid)
{
GivePlayerMoney(playerid,5000);
//bla bla
}
Well that ofc won't work, it will give the money ect to ID 0, now try to replace that timer with this one
pawn Код:
SetTimerEx("Robbed",9000,0,"i",playerid);
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)