02.06.2012, 12:18
How should I add this
if(IsPlayerInRangeOfPoint(playerid, -1963.9784,639.1397,46.5625))
In that
if(!strcmp(cmdtext, "/Zlift", true))
{
SetPlayerPos(playerid, -1952.1819,632.2796,145.3092);
return 1;
}
What it is supposed to do is, if the player is near the coordinates -1963.9784,639.1397,46.5625 and types /zlift, he should get teleported to the koordinates -1952.1819,632.2796,145.3092
if(IsPlayerInRangeOfPoint(playerid, -1963.9784,639.1397,46.5625))
In that
if(!strcmp(cmdtext, "/Zlift", true))
{
SetPlayerPos(playerid, -1952.1819,632.2796,145.3092);
return 1;
}
What it is supposed to do is, if the player is near the coordinates -1963.9784,639.1397,46.5625 and types /zlift, he should get teleported to the koordinates -1952.1819,632.2796,145.3092