How i can fix this ?. - 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: How i can fix this ?. (
/showthread.php?tid=548906)
How i can fix this ?. -
Surabaya - 03.12.2014
I get
Код:
Z:\Downloads\Programs\WilRez\gamemodes\GGRP.pwn(726) : warning 215: expression has no effect
Z:\Downloads\Programs\WilRez\gamemodes\GGRP.pwn(4118) : warning 235: public function lacks forward declaration (symbol "Audio_OnSetPack")
Help please
Re: How i can fix this ?. -
Dizzle - 03.12.2014
First of all add:
forward Audio_OnSetPack;
on top of your script, then show us line 726
Re: How i can fix this ?. -
Surabaya - 03.12.2014
Line 726
Код:
PlayerTextDrawSetPreviewModel(playerid, txtPlayerSprite, modelindex);
Re: How i can fix this ?. -
AIped - 03.12.2014
show how you made 'txtPlayerSprite'
Re: How i can fix this ?. -
Surabaya - 03.12.2014
i don't have txtPlayerSprite
Re: How i can fix this ?. -
AIped - 03.12.2014
you showed it yourself;
Quote:
Originally Posted by Surabaya
Line 726
Код:
PlayerTextDrawSetPreviewModel(playerid, txtPlayerSprite, modelindex);
|
if you dont have txtPlayerSprite elsewhere than thats your problem