Extra missions in PPC Trucking?
#1

I was trying to add more missions and more place to work in ppc trucking gamemode. also i have used ****** too many times. But can't find the result. Anyone can explain good that how to add more missions in ppc trucking with new crood,mission name payment and etc?.
Reply
#2

Make a new system, using variables, commands, definitions

Quick Example


pawn Код:
//global variable
new PlayerTeam[MAX_PLAYERS];

//global definition
#define TEAM_NAME

//Quick OnPlayerRequestClass Example
public OnPlayerRequestClass({playerid, classid)
{
    switch( classid )
    {
        case 1 .. 10: //skin id 1 to 10 will be set to the team you've added
        {
            PlayerTeam[MAX_PLAYERS] = TEAM_NAME;
        }
    }
    return true;
}

//Quick Command Example
CMD:harvest(playerid, params[])
{
    if(PlayerTeam[playerid] != TEAM_NAME)
        return SendClientMessage(playerid, -1, "You're not in the" TEA_NAME);

    // rest of the function.
    return true;
}
Reply
#3

Why i have to make new missions system? i can edit it? if someone knows it than he should help me.
Reply
#4

hi you try in includes PPC_DefLoads and PPC_DefLocations
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)