A teleport command!
#6

Quote:
Originally Posted by [RD
Chez ]
Quote:
Originally Posted by Compton's Eazy E

Try This

Code:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmd,"/air",true)==0)
 {
   SetPlayerPos(playerid, 2687.509521 -1707.958984 1654.909912);
   GameTextForPlayer(playerid, "Ьdv. AirCityben!", 1, );
   return 1;
 }
nub >_<
Code:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext,"/air",true,4))
 {   
   GameTextForPlayer(playerid, "Ьdv. AirCityben!", 1, );
   return SetPlayerPos(playerid, 2687.509521, -1707.958984, 1654.909912);
 }
Nub.... Thanks for the comment, It doesnt matter, if you change 0 to 4 it still works!
Reply


Messages In This Thread
A teleport command! - by davaj - 18.08.2009, 11:25
Re: A teleport command! - by Eazy_Efolife - 18.08.2009, 11:26
Re: A teleport command! - by davaj - 20.08.2009, 12:17
Re: A teleport command! - by Eazy_Efolife - 20.08.2009, 12:20
Re: A teleport command! - by G_ROW_Chez - 20.08.2009, 12:46
Re: A teleport command! - by Eazy_Efolife - 20.08.2009, 12:48

Forum Jump:


Users browsing this thread: 1 Guest(s)