01.05.2012, 18:46
Hello,
I am trying to make an /enter cmd for a prison that I am making. Anyway what is wrong with the /enter? When I use it nothing happens ;o
I am trying to make an /enter cmd for a prison that I am making. Anyway what is wrong with the /enter? When I use it nothing happens ;o
pawn Код:
CMD:enter(playerid)
{
if(IsVehicleInRangeOfPoint(playerid,5.0,1826.1003,-1538.3463,13.5469)) {
SetVehiclePos(playerid,1816.8549,-1535.9316,13.3186);
// SetPlayerPos(playerid,1816.8549,-1535.9316,13.3186);
}
{
SendClientMessage(playerid, COLOR_YELLOW, "");
}
return 1;
}
CMD:exit(playerid)
{
if(IsVehicleInRangeOfPoint(playerid,5.0,1816.8549,-1535.9316,13.3186)) {
SetVehiclePos(playerid,1826.1003,-1538.3463,13.546);
// SetPlayerPos(playerid,1826.1003,-1538.3463,13.5469);
}
{
SendClientMessage(playerid, COLOR_YELLOW, "");
}
return 1;
}