Senior Scripters
#1

Is there away of making jobs For only like certain levels?

As like taxi job - level 3? or so?


Quote:
Millenium Roleplay
Reply
#2

Thank you i will find a way of making it happen!!

Thank you ******

Quote:
Millenium Roleplay
Reply
#3

This is a basic structure that should help you making jobs for a certain level. Let's say that you use gPLevel[playerid] to get the player's level.

pawn Код:
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;
}
Reply
#4

Okay thank you i will try that if it does not work i will find a way i always do haha
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)