[URGENT/HELP] Weapon Saving (using carlito's rp script)
#1

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.
Reply
#2

Download link to pwn:

http://www.sendspace.com/file/srkgho
Reply
#3

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
Reply
#4

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

new bump()
{
return 1;
}

?
Reply
#6

Read what calgon said..
Reply
#7

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

Paste the compile errors, please.
Reply
#9

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

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)