21.09.2013, 20:16
How to make the dynamic cp works only if you are on foot ? because some checkpoints teleport me into a store while i'm in car -.-'
if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
{
if(IsPlayerInDynamicCP(playerid, CP))
{
// functions
}
}
if(IsPlayerInAnyVehicle(playerid) return SendClientMessage(playerid,-1,"You must leave the Vehicle to Enter any Check Point.");