23.10.2011, 16:19
Okay you're almost there, but you need to get the vehicleid from somewhere too, as the variable does not exist in this context, for example:
pawn Код:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 411)
{ // 411 is the infernus model
SetPlayerVirtualWorld(playerid, 1);
PutPlayerInVehicle(playerid, 411, 0);
}