09.03.2012, 20:34
i have this /enter and /exit commands
else if (PlayerToPointStripped(1.0, playerid,1158.1218,-1351.5367,-13.1551, cx,cy,cz))
{
//Hitna Pomos ulaz
SetPlayerPos(playerid,1158.1218,-1351.5367,-13.1551);
GameTextForPlayer(playerid, "~w~Hitna Pomoc", 5000, 3);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
else if (PlayerToPointStripped(2.0,1172.2754,-1322.7936,15.4018,cx,cy,cz))
{
//Hitna Pomos izlaz
SetPlayerPos(playerid,1172.2754,-1322.7936,15.401;
GameTextForPlayer(playerid, "~w~Los Santos", 5000, 3);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
but that don't worked any help me ?
else if (PlayerToPointStripped(1.0, playerid,1158.1218,-1351.5367,-13.1551, cx,cy,cz))
{
//Hitna Pomos ulaz
SetPlayerPos(playerid,1158.1218,-1351.5367,-13.1551);
GameTextForPlayer(playerid, "~w~Hitna Pomoc", 5000, 3);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
else if (PlayerToPointStripped(2.0,1172.2754,-1322.7936,15.4018,cx,cy,cz))
{
//Hitna Pomos izlaz
SetPlayerPos(playerid,1172.2754,-1322.7936,15.401;
GameTextForPlayer(playerid, "~w~Los Santos", 5000, 3);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
but that don't worked any help me ?