Red Portal?
#4

Quote:
Originally Posted by phil_lendon
Посмотреть сообщение
But how do i display "type /rob"
Create3DTextLabel(text[], color, Float:X, Float:Y, Float:Z, FloatrawDistance, virtualworld, testLOS); // The smile appears because there is Float: DrawDistance ( : D )

Do with the command /rob:

pawn Код:
if(IsPlayerInCheckpoint(playerid) && PlayerToPoint(playerid, X, Y, Z) < 5) //Change x y and z to the pos of  the checkpoint
{
    new money = /*Minimum Ammount*/ + random(/*Maximum Ammount*/);
    GivePlayerMoney(playerid, money);
    SetPlayerWantedLevel(playerid, GetPlayerWantedLevel(playerid) + 1);
    PlayCrimeReportForPlayer(playerid, playerid, 5); //This is used to hear the sound report of the cops, like in GTA:SA
}
Reply


Messages In This Thread
Red Portal? - by phil_lendon - 27.07.2011, 20:07
Re: Red Portal? - by Shockey HD - 27.07.2011, 20:15
Re: Red Portal? - by phil_lendon - 27.07.2011, 20:29
Re: Red Portal? - by Sasino97 - 27.07.2011, 20:33
Re: Red Portal? - by phil_lendon - 27.07.2011, 20:59
Re: Red Portal? - by Sasino97 - 27.07.2011, 21:08

Forum Jump:


Users browsing this thread: 1 Guest(s)