25.01.2013, 19:19
pawn Code:
public OnPlayerCollideVehicle(playerid, vehicleid);
public OnPlayerCollideObject(playerid, objectid, modelid);
public OnPlayerCollidePlayer(playerid, player);
public OnPlayerCollideVehicle(playerid, vehicleid);
public OnPlayerCollideObject(playerid, objectid, modelid);
public OnPlayerCollidePlayer(playerid, player);
0The pickup does not display. 1Exists always. Disables pickup scripts such as horseshoes and oysters to allow for scripted actions ONLY. 2Pickupable, respawns after some time. 3Pickupable, respawns after death 4Disappears shortly after created (perhaps for weapon drops?) 5Disappears shortly after created (perhaps for weapon drops?) 8Pickupable, but has no effect. Disappears automatically. 11Blows up a few seconds after being created (bombs?) 12Blows up a few seconds after being created. 13Slowly decends to the ground. 14Pickupable, but only when in a vehicle. 15Pickupable, respawns after death 19Pickupable, but has no effect (information icons?) 22Pickupable, respawns after death. 23Pickupable, respawns after some time but only when in a vehicle. 24Pickupable, The pickup does not display but only when in a vehicle. |
OnIncomingConnection(ip[])
GetClientCommand(playerid, cmd[])
if(GetClientCommand(playerid, "/headmove") == 0)
{
// if disable
}
else
{
// if enable
}
We should be able to edit Client Message, with those functions. U, I, B for Underline, Italic, Bold |
native IsTrailerAttached(carid)
native AttachCameraToAttachedObject();
i post it hundred times so i will post it again:
Imporve audio stream system. -Multiple streams -Disable audio message (/audiomsg) by default in SA:MP client -Volume, Pause, Resume functions -Function to Attach/Deattach audio stream to player/object/vehicle |
PHP Code:
but when whe have to make long bool like respawn all unused car, we have to make another long bool to know if the trailer is attacher or no Max |
stock IsTrailerAttached(vehicleid)
{
if(GetVehicleTrailer(vehicleid) == 0) return false;
else return true;
}