24.09.2010, 07:54
On player spawn set
PlayerCity[playerid] = 1; // LS
PlayerCity[playerid] = 2; // SF
PlayerCity[playerid] = 3; // LV
And on each bridge when player is at point
Most important is to set right city at spawn, because later you control it
PlayerCity[playerid] = 1; // LS
PlayerCity[playerid] = 2; // SF
PlayerCity[playerid] = 3; // LV
And on each bridge when player is at point
pawn Код:
if(PlayerCity[playerid] != 3 && IsPlayerInRangeOfPoint..))
{
PlayerCity[playerid] = 3;
SendCityMessage(playerid,"Welcome to Las Venturas"); // Adjust your own
}