04.12.2012, 10:34
(
Последний раз редактировалось Konstantinos; 04.12.2012 в 11:13.
Причина: Thanks to will-56; forgot the [ playerid ]
)
pawn Код:
// Global Variable;
new
gVehicle[ MAX_PLAYERS ]
;
public OnPlayerSpawn( playerid )
{
gVehicle[ playerid ] = CreateVehicle( 411, 0.0, 0.0, 0.0, 0.0, 0, 0, 60 ); // 411 - infernus. Change the vehicle/colours etc.
PutPlayerInVehicle( playerid, gVehicle[ playerid ], 0 );
SetVehiclePos( gVehicle[ playerid ], x, y, z ); // Change it to where he/she will spawn!
SetVehicleZAngle( gVehicle[ playerid ], angle ); // Same for this too!
return 1;
}