27.07.2011, 20:33
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:
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
}