13.10.2011, 15:18
Again nothing..
PHP код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == NRG1)
{
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X,Y,Z);
NRG = CreateVehicle(522, X,Y,Z, 0.0, 0, 0, 60000);
PutPlayerInVehicle(playerid, NRG, 0);
}
if(pickupid == INFERNUS1)
{
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X,Y,Z);
INFERNUS = CreateVehicle(411, X,Y,Z, 0.0, 0, 0, 60000);
PutPlayerInVehicle(playerid, INFERNUS, 0);
}
return 1;
}