Checkpoints should be small but aren't?!
#1



Why ?
pawn Код:
if(IsWorking[playerid] == 1 && JobStage[playerid] == 2)
{
SetVehicleParamsForPlayer(WorkCar[playerid],playerid,0,0);
DisablePlayerCheckpointEx(playerid, 4);
JobStage[playerid] = 3;
new string[456];
format(string, sizeof(string), "Ai ridicat comanda~N~Urca obiectul in dubita.");
PlayerTextDrawSetString(playerid, JobHint[playerid], string);
ApplyAnimation(playerid, "CARRY", "liftup", 4.0, 0, 0, 0, 0, 0);
new value = random(5);
if(value == 0)
{
//
}
if(value == 1)
{
//
}
if(value == 2)
{
//
}
if(value == 3)
{
//
}
if(value == 4)
{
//
}
else
{
//
}
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_CARRY);
new Float:x, Float:y, Float:z;
GetPosBehindVehicle(WorkCar[playerid],x,y,z, 0.0)
SetPlayerCheckpointEx(playerid, 4, x,y,z, 2.0);
return 1;
}
the stock

pawn Код:
stock SetPlayerCheckpointEx(playerid, cpid, Float:x, Float:y, Float:z, Float:size)
{
        pCPPosX[playerid][cpid] = x;
        pCPPosY[playerid][cpid] = y;
        pCPPosZ[playerid][cpid] = z;
        pCPSize[playerid][cpid] = size;
        pCPShow[playerid][cpid] = true;
        pCPID[playerid] = cpid;
        SetPlayerCheckpoint(playerid, x, y, z, size);
        return 1;
}
Reply


Messages In This Thread
Checkpoints should be small but aren't?! - by Metharon - 20.07.2015, 03:09
Re: Checkpoints should be small but aren't?! - by SickAttack - 20.07.2015, 03:35
Re: Checkpoints should be small but aren't?! - by 1nspire - 20.07.2015, 06:54
Re: Checkpoints should be small but aren't?! - by xVIP3Rx - 20.07.2015, 08:18
Re: Checkpoints should be small but aren't?! - by Glenn332 - 20.07.2015, 08:57
Re: Checkpoints should be small but aren't?! - by MaxJohnson - 20.07.2015, 12:59

Forum Jump:


Users browsing this thread: 2 Guest(s)