03.08.2009, 17:32
Dose anyone mind explaining this script?!
Code:
if(strcmp(cmd, "/enter", true) == 0)
{
if(PlayerToPoint(5.0,playerid, x,y,z) || PlayerToPoint(5.0,playerid, x,y,z) || PlayerToPoint(5.0,playerid, x,y,z))
{
SetPlayerPos(playerid, interior:x,interior:y,interior:z);
}
else
{
SendClientMessage(playerid, COLOR_BLUE,"You must be at a house entrance to enter.");
}
return 1;
}

