21.04.2014, 09:27
How do i make wanted level i mean wat's the pawno code for it and an example for it ?
SetPlayerWantedLevel(playerid, 6);
SetPlayerWantedLevel(playerid, 6);
CMD:rob(playerid, params[])
{
if(!IsPlayerInCheckpoint(playerid))
SendClientMessage(playerid, -1, "You need to be in a checkpoint in order to do this command!");
SetPlayerWantedLevel(playerid, 1);
return 1;
}
CMD:rob(playerid, params[])
{
if(IsPlayerInCheckpoint(playerid));
{
SetPlayerWantedLevel(playerid, 1);//If they're in the checkpoint it'll give them 1 star
}
else SendClientMessage(playerid, -1, "You're not in the checkpoint"); //If they're not
return 1;
}