SA-MP Forums Archive
[URGENT/HELP] Weapon Saving (using carlito's rp script) - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [URGENT/HELP] Weapon Saving (using carlito's rp script) (/showthread.php?tid=96495)



[URGENT/HELP] Weapon Saving (using carlito's rp script) - Matthew_Murdoch - 08.09.2009

Im using carlitos roleplay script. . . Something it hasnt got is:
on return to the server you don't have weapons.

How do i save weapons?
Im not too good with this part of code. Help?

Iv'e managed to do half, i just need professional help.


Re: [help] Weapon saving - Matthew_Murdoch - 10.09.2009

Download link to pwn:

http://www.sendspace.com/file/srkgho


Re: [help] Weapon saving - Calgon - 10.09.2009

Read the top part on how to create new variables, once you've added those. Then add to "/sellweapon", pWeapon1 to pWeapon6, then OnPlayerDeath() add it so it resets those, then OnPlayerSpawn() Set the weapons using pWeapon1-6 etc


Re: [help] Weapon saving - Matthew_Murdoch - 10.09.2009

Yes i know, can't get the code correct.
Need the code, fowards etc


Re: [help] Weapon saving - Matthew_Murdoch - 10.09.2009

new bump()
{
return 1;
}

?


Re: [help] Weapon saving - Norn - 10.09.2009

Read what calgon said..


Re: [help] Weapon saving - Matthew_Murdoch - 10.09.2009

Nope didnt help much, i compile with tons of errors.
Please help.


Re: [help] Weapon saving - Calgon - 10.09.2009

Paste the compile errors, please.


Re: [help] Weapon saving - Matthew_Murdoch - 10.09.2009

Oh hell. . I made a backup and when i got the errors, replaced it, guess i gta do it again.


Re: [help] Weapon saving - saiberfun - 10.09.2009

Quote:
Originally Posted by Matthew_Murdoch
new bump()
{
return 1;
}

?
http://forum.sa-mp.com/index.php?topic=114010.0