Jump to content

SniperBombix95

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by SniperBombix95

  1. Ok, now i see In the client side script, the triggerServerEvent is incorrect Try put this on instead of yours triggerServerEvent("onPlayerPayfine", localPlayer, localPlayer) tell me if it works, it should cause i've used it to pass at the server the player who asked to spawn a car, and it works pretty well
  2. This is the serverside script, it is not tested addEvent('onPlayerPayfine', true) addEventHandler('onPlayerPayfine', root, function(thePlayer) if( getPlayerWantedLevel( thePlayer ) > 0) then setPlayerWantedLevel( thePlayer, 0) outputChatBox( 'you have done the fine !!', thePlayer, 255, 255, 0, false ); else outputChatBox( 'An error occurred while fining !', source, 255, 0, 0, false ); end end) Let me know if it works
  3. Well ok, i've already used the setWeaponProperties and changed All weapons properties like damage, RoF, range, accuracy, flags ecc. but then i thinked "What about adding more weapons like 3 m4 (m4, m16, scar) ecc. and keep at the same time the original one?" but now you say that it can't be done so... Quick question, what about adding new weapons in the default Gta sa folder? can i add more weapons there? like adding more vehicles, i saw a tutorial on this, but no one on weapons
  4. Hi guys, I'm here today 'cause i need an "illumination" on this question As the title says, is it possible to create completely new weapons? Because my idea was to (if it's possible) create various weapons like the country rifle but all with different damage, clip size, accuracy, weapon range and sure different models . But I think that cannot be done so easily, i mean weapons works with ids, like 0 , 1, 2 ,32 ecc. and each weapon has an id and a model id. Now my point is how to assign a new id as a weapon and a related model's id. If it's possible, can someone show me a simple script to do that? thanks in advance and i hope in a positive answer. and if i've made some mistake, i'm not english bye SniperBombix
×
×
  • Create New...