Roleplay Help
#5

here it is

Quote:

forward CasinoBar(playerid);
new RandomMoney;
CMD:work(playerid,params[])
{
if(IsPlayerInRangeOfPoint(playerid,3,-2655.5090,1406.6702,906.2734))
{
TogglePlayerControllable(playerid,0);
SetPlayerPos(playerid,-2655.5090,1406.6702,906.2734);
SetPlayerFacingAngle(playerid,270);
SetCameraBehindPlayer(playerid);
SetTimer("CasinoBar",10000,false);
}
return 1;
}
public CasinoBar(playerid)
{
RandomMoney = random(20000);
TogglePlayerControllable(playerid,1);
GivePlayerMoney(playerid,RandomMoney);
}

Reply


Messages In This Thread
Roleplay Help - by hossamkandil - 30.01.2014, 01:20
Re: Roleplay Help - by Jacapo - 30.01.2014, 01:44
Re: Roleplay Help - by MP2 - 30.01.2014, 01:46
Re: Roleplay Help - by hossamkandil - 30.01.2014, 01:48
Re: Roleplay Help - by hossamkandil - 30.01.2014, 01:56
Re: Roleplay Help - by Jacapo - 30.01.2014, 02:27
Re: Roleplay Help - by hossamkandil - 30.01.2014, 04:29

Forum Jump:


Users browsing this thread: 1 Guest(s)