Nagyon szépen köszi Csabesz
Szerk.: bajvan xD /enter-es parnacsok mennek, de az /exitesek nem.. vmit bezártam?
if(strcmp(cmdtext, \"/enter\", true) == 0)//vhbe
{
if(IsPlayerInRangeOfPoint(playerid, 1.0, 1480.9397,-1771.5724,18.7958))
{
SetPlayerPos(playerid,384.808624,173.804992,1008.382812);
SetPlayerInterior(playerid,3);
}
else if(IsPlayerInRangeOfPoint(playerid, 1.0, 1554.9406,-1675.6411,16.1953))//lspdbe
{
SetPlayerPos(playerid,246.783996,63.900199,1003.640625);
SetPlayerInterior(playerid,6);
}
else if(IsPlayerInRangeOfPoint(playerid, 1.0, 1352.3049,-1758.8123,13.5078))//bolt1be
{
SetPlayerPos(playerid,6.091179,-29.271898,1003.549438);
SetPlayerInterior(playerid,10);
}
return 1;
}
if(strcmp(cmdtext, \"/exit\", true) == 0)//vhki
{
if(IsPlayerInRangeOfPoint(playerid, 0.1,390.0667,173.7664,1008.3828))
{
SetPlayerPos(playerid,1480.9397,-1771.5724,18.7958);
SetPlayerInterior(playerid,0);
}
else if(IsPlayerInRangeOfPoint(playerid,0.1,246.7923,62.9487,1003.6406))//lspdki
{
SetPlayerPos(playerid,1554.9406,-1675.6411,16.1953);
SetPlayerInterior(playerid,0);
}
return 1;
}
return 0;
}
szerk.: rájöttemmiabaja: nem 0.1 hanem 1.0 xDDDDDD
bocsi..