04.06.2011, 08:50
Weapon
EXAMPLE
Weapon ID'S
Set Vehicle Position
EXAMPLE
Код:
(playerid, weaponid, ammo) playerid The ID of the player to give the weapon to weaponid The ID of the weapon you want to give the player ammo How much ammo to give to the player
pawn Код:
GivePlayerWeapon(playerid, 26, 500);
Set Vehicle Position
Код:
(vehicleid, Float:x, Float:y, Float:z) vehicleid Vehicle ID that you want set new position. Float:x A float to store the X coordinate, passed by reference. Float:y A float to store the Y coordinate, passed by reference. Float:z A float to store the Z coordinate, passed by reference.
pawn Код:
SetVehiclePos(1, 123.456, 123.456, 12.34);