22.10.2012, 10:14
Functions
Callbacks
Other
So, that's all for today ... i think.
pawn Код:
SetVehicleColor(vehicleid, redvalue, greenvalue, bluevalue);
IsPlayerVehicleModded(playerid, modelid); > Returns "true" if the player's vehiclemodel is modded.
IsPlayerSkinModded(playerid, skinid); > Returns "true" if the player's skinmodel is modded.
IsPlayerObjectModded(playerid, objectmodel); > Returns "true" if the player's objectmodel is modded.
SetObjectBreakable(objectid, true/false);
CheckPlayerFolder(playerid, folder[]); // Or something like that to check things like "cleo" or other hax.
CreateLight(redvalue, greenvalue, bluevalue, Float:posX, Float:posY, Float:posZ); // Creates a light at position X,Y,Z
pawn Код:
OnPlayerShootPlayer(playerid, damagedid, Float:amount, weaponid, boneid);
OnPlayerShootObject(playerid, objectid, weaponid);
OnPlayerShootVehicle(playerid, vehicleid, Float:amount, weaponid, place); // place: PLACE_NORMAL, PLACE_WINDOW, PLACE_FUEL
OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, boneid);
OnVehicleTakeDamage(vehicleid, issuerid, Float:amound, weaponid, place); // place: PLACE_NORMAL, PLACE_WINDOW, PLACE_FUEL
OnObjectTakeDamage(objectid, issuerid, weaponid);
pawn Код:
Synced Vehicle Velocity (SetVehicleVelocity) - For bad connections
Synced Player Velocity (SetPlayerVelocity) - For bad connections
Add new custom paintjobs, spoilers, etc. to have more fun.
Add new custom skins or ability to change skins. (like zombie skins or other .. ;))
Synced NPC's that don't walk through anything and can see server-objects. ( want to make WarZ/DayZ Remake ^^)
Ability to change neon-tube colors.