Secret tele
#2

if(strcmp(cmd, "/myhouse", true) == 0) {
if(!IsPlayerAdmin(playerid))
{
SendClientMessage(playerid,0xFF0000AA,"You can't use this command.");
return 1;
}
SendClientMessage(playerid, 0xFF7F50AA, "You teleported to your house!");
SetPlayerPos(X,Y,Z);//you coordinates
SetPlayerInterior(playerid,interiorid);//your interior id
return 1;
}
Reply


Messages In This Thread
Secret tele - by IvancheBG - 21.04.2011, 07:29
Re: Secret tele - by Admigo - 21.04.2011, 07:37
Re: Secret tele - by IvancheBG - 21.04.2011, 07:43
Re: Secret tele - by Stigg - 21.04.2011, 07:50
Re: Secret tele - by IvancheBG - 21.04.2011, 08:21
Re: Secret tele - by Stigg - 21.04.2011, 08:24
Re: Secret tele - by IvancheBG - 21.04.2011, 09:02
Re: Secret tele - by mitosking - 21.04.2011, 09:04
Re: Secret tele - by IvancheBG - 21.04.2011, 09:06
Re: Secret tele - by HyperZ - 21.04.2011, 09:08

Forum Jump:


Users browsing this thread: 1 Guest(s)