21.10.2010, 20:31
Eae pessoal, to criando interior aki to usando s0rvete mais eu crio ali pra com F as cordenadas estгo certas mais o player cai pra baixo oq pode ser??
CУDIGO
CУDIGO
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])//executa comandos
{
//Teleporte
if(strcmp(cmdtext,"/kiki",true)==0)
{
new vehicleid = GetPlayerVehicleID(playerid);
new State = GetPlayerState(playerid);
if(IsPlayerInAnyVehicle(playerid) && State == PLAYER_STATE_DRIVER)
{
GameTextForPlayer(playerid,"que",4000,6);
LinkVehicleToInterior(vehicleid,0);
SetPlayerInterior(playerid,0);
return SetVehiclePos(vehicleid,1373.1249,-1754.9692,17.3591,152.0514);
}
SetPlayerPos(playerid,1583.0682,-1778.2955,12.7907);
SetPlayerInterior(playerid,0);
GameTextForPlayer(playerid," ",4000,6);
return 1;
}