SA-MP Forums Archive
Trucking Resetweapons - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Trucking Resetweapons (/showthread.php?tid=318576)



Trucking Resetweapons - [FoR]EveR - 15.02.2012

Anyone can say me how can i remove resetplayerweapons ?


Re: Trucking Resetweapons - Roperr - 15.02.2012

Are you for real?


Re: Trucking Resetweapons - badman587 - 16.02.2012

i think its somthing to do with this

GameModeInit_Classes(); // Add character models to the class-selection (without weapons)

but no matter what i change i cant seem to enable weapons either......


Re: Trucking Resetweapons - Mark_Weston - 16.02.2012

Add Ban(playerid); under OnPlayerConnect but it works only on April fools

Lol jk ctrl+f

and search for that function the post it here.


Re: Trucking Resetweapons - badman587 - 16.02.2012

None of that is in the script...its weird normally i dont have troubles lol.
check out the script (if you have time) and u will know what i mean lol
https://sampforum.blast.hk/showthread.php?tid=196493

also
// Delete all weapons from the player
ResetPlayerWeapons(playerid);

i removed this but that didnt work


Re: Trucking Resetweapons - Mark_Weston - 16.02.2012

Quote:
Originally Posted by badman587
Посмотреть сообщение
None of that is in the script...its weird normally i dont have troubles lol.
check out the script (if you have time) and u will know what i mean lol
https://sampforum.blast.hk/showthread.php?tid=196493

also
// Delete all weapons from the player
ResetPlayerWeapons(playerid);

i removed this but that didnt work
It should be an include file, that's how he scripted the GM.


Re: Trucking Resetweapons - badman587 - 16.02.2012

Sorry, i am being such a pain about this.....
ive just looked though all of the .inc files :S
would you happen know what file and what line to take out or what ever.
i cant believe i cant do this :S

so sorry....


Re: Trucking Resetweapons - Mark_Weston - 16.02.2012

Check server_settings I think thats what its called


Re: Trucking Resetweapons - badman587 - 16.02.2012

It only has the veriables for Police weapons....ive run out of idea's :S
anything else you can think of, can you let me know

thanks for all your help, im defo gonna +rep you..


Re: Trucking Resetweapons - Mark_Weston - 16.02.2012

Quote:
Originally Posted by badman587
Посмотреть сообщение
It only has the veriables for Police weapons....ive run out of idea's :S
anything else you can think of, can you let me know

thanks for all your help, im defo gonna +rep you..
I didn't really use the GM, but is there anything like AC.inc or anticheat.inc, or weapons.inc or anything close to that?

Also, I don't think you can +rep who knows.

Edit:

Hold on ill take a look.