12.04.2014, 11:31
Is there away of making jobs For only like certain levels?
As like taxi job - level 3? or so?
As like taxi job - level 3? or so?
Quote:
Millenium Roleplay |
Millenium Roleplay |
Millenium Roleplay |
public OnPlayerSpawn(playerid)
{
SetPlayerCheckpoint(playerid, 1982.6150, -220.6680, -0.2432, 3.0); //a checkpoint is created when the player spawns.
return 1;
}
public OnPlayerEnterCheckpoint(playerid)
{
if(gPLevel[playerid] < 3){
//What happens if the player's level not 3.
}
else if (gPLevel[playerid] >= 3){
//What happens if the player's level is 3 or higher.
}
DisablePlayerCheckpoint(playerid);
return 1;
}