Need small help for cmd
#2

pawn Код:
if(strcmp(cmdtext, "/work", true) == 0)
{
    if(gTeam[playerid] != 2)
        return SendClientMessage(playerid, COLOR_GREY, "You're not the carrier");

    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 440)
    {
        if(gTeam[playerid] ==  2)
        SendClientMessage(playerid, COLOR_GREY, "You've started the job, go and pick up the goods");
        Ccp[playerid] = 1;
        SetPlayerCheckpoint(playerid,120.403518, -294.375122, 1.578125, 3.0);
    }
    else
    {
        SendClientMessage(playerid, COLOR_GREY, "You are not in the truck!");
    }
    return 1;

}
Reply


Messages In This Thread
Need small help for cmd - by kaiks - 29.06.2012, 19:06
Re: Need small help for cmd - by WagnerPM - 29.06.2012, 19:10
Re: Need small help for cmd - by Cxnnor - 29.06.2012, 19:10
Re: Need small help for cmd - by Ironboy - 29.06.2012, 19:15
Re: Need small help for cmd - by kaiks - 29.06.2012, 19:17

Forum Jump:


Users browsing this thread: 1 Guest(s)