21.04.2011, 07:29
Hi.I use Ladmin4 but i want to make a command to go to my house because I made a house and i want only admins to go there.How to do that?
if(!IsPlayerAdmin(playerid))
if(!IsPlayerLAdmin(playerid))
CMD:teleport(playerid, params[])
{
if(!IsPlayerLAdmin(playerid)) return 0; // You can change this return
SetPlayerPos(playerid, x, y, z); // You change x, y and z
SendClientMessage(...) // Insert a message
return 1;
}