[AJUDA]comando
#4

if(strcmp(cmdtext,"/irescola",true)==0)
{
new vehicleid = GetPlayerVehicleID(playerid);
new State = GetPlayerState(playerid);
if(IsPlayerInAnyVehicle(playerid) && State == PLAYER_STATE_DRIVER)
{
GameTextForPlayer(playerid,"''Voce se teletransportou para escola''",4000,6);
LinkVehicleToInterior(vehicleid,3);
SetPlayerInterior(playerid,3);
return SetVehiclePos(vehicleid,2057.25,-1909.82,1916.75);
}
SetPlayerPos(playerid,2057.25,-1909.82,1916.75);
SetPlayerInterior(playerid,3);
GameTextForPlayer(playerid,"''Voce se teletransportou para escola''",4000,6);
return 1;
}


VC pode baixar uma pequena ferramenta chamada ''TELEPORT GENERATOR'' nela vc tera menas dificuldade , apenas bote as cordenadas , o nome do comando e o interior ! e clica em generator ele cria ocomando pra vc !
http://imageshack.us/photo/my-images...apturarnt.jpg/
Reply


Messages In This Thread
[AJUDA]comando - by _ThIaGo - 03.01.2012, 15:14
Re: [AJUDA]comando - by Shelby - 03.01.2012, 15:33
Re: [AJUDA]comando - by dPlaYer_ - 03.01.2012, 15:42
Re: [AJUDA]comando - by RNT - 03.01.2012, 15:50
Re: [AJUDA]comando - by _ThIaGo - 03.01.2012, 15:54

Forum Jump:


Users browsing this thread: 1 Guest(s)