Quote:
Originally Posted by Gustavo_Araujo
tenta assim:
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { new Modelo = GetPlayerVehicleID(playerid); if(Modelo = 520 || 425 || 432) { new Float:x,Float:y,Float:z; GetPlayerPos(playerid,x,y,z); SetPlayerPos(playerid,x,y,z+3.0); DestroyVehicle(Modelo); return 1; }
Fisso na rapidez,nao e certeza que da certo,caso tenha algo errado,corrijam por favor.
|
Deu um aviso:
C:\Users\Skool-\Desktop\GameModes\Untitled.pwn(1952) : warning 211: possibly unintended assignment
Linha: if(Modelo = 520 || 425 || 432)