SA-MP Forums Archive
Weapon saving error. - 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: Weapon saving error. (/showthread.php?tid=462223)



Weapon saving error. - Beckett - 05.09.2013

------


Re: Weapon saving error. - SeniorGamer - 05.09.2013

Whats the error line


Re: Weapon saving error. - Beckett - 05.09.2013

Код:
4299 is GivePlayerWeapon(playerid,pInfo[playerid][pWeapon0],pInfo(playerid[pAmmo0];);



Re: Weapon saving error. - SeniorGamer - 05.09.2013

pawn Код:
4299 is GivePlayerWeapon(playerid,pInfo[playerid][pWeapon0],pInfo(playerid[pAmmo0]; ) ;

to
pawn Код:
GivePlayerWeapon(playerid,pInfo[playerid][pWeapon0],pInfo(playerid[pAmmo0];
You used ; ) ; at the end :P


Re: Weapon saving error. - Beckett - 05.09.2013

EDIT: I'll check it.


Re: Weapon saving error. - SeniorGamer - 05.09.2013

Quote:
Originally Posted by DaniceMcHarley
Посмотреть сообщение
No no that's not the problem.
My bad, forgot a bracket there

pawn Код:
GivePlayerWeapon(playerid,pInfo[playerid][pWeapon0],pInfo(playerid[pAmmo0]);



Re: Weapon saving error. - Beckett - 05.09.2013

As I stated above that's not the issue!


Re: Weapon saving error. - Beckett - 06.09.2013

------


Re: Weapon saving error. - Dragonsaurus - 06.09.2013

pawn Код:
GivePlayerWeapon(playerid,pInfo[playerid][pWeapon9],pInfo[playerid][pAmmo9]);
Edit: I now saw that post... What is the real problem?


Re: Weapon saving error. - Beckett - 06.09.2013

I've solved it, thank you guys for replying appreciated!