12.10.2013, 08:52
Sorry, made a mistake there, forgot 2 brackets, try these code now
pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
new
szMessage[ 128 ]
;
if(PlayerInfo[ playerid ][ pDeliverPlane ] == 1 && IsPlayerInRangeOfPoint(playerid, 10,1968.79, -2492.85, 13.54))
{
format( szMessage, sizeof( szMessage ), "You have picked up the Illeagel Deliver for Crate and succed to transfer it to LS! ");
SendClientMessageEx( playerid, COLOR_YELLOW, szMessage );
DisablePlayerCheckpoint( playerid );
PlayerInfo[ playerid ][ pGunCrates ] ++;
new vehicleid = GetPlayerVehicleID( playerid );
SetVehicleToRespawn( vehicleid );
}
return 1;
}