SA-MP Forums Archive
Help with my code - 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: Help with my code (/showthread.php?tid=611853)



Help with my code - ClementGMRP - 11.07.2016

Hello, all I have compile and I have this now..
http://pastebin.com/sRYa14rL


Re: Help with my code - WhiteGhost - 11.07.2016

Code:
undefined symbol "PlayerTextDrawUseBox
new PlayerText:PlayerTextDrawUseBox[MAX_PLAYERS];
Are Missing.


Re: Help with my code - Mencent - 11.07.2016

Hello!

Update your includes (like a_samp and so on).

- EDIT:
@WhiteGhost:
PlayerTextDrawUseBox is a function of SA-MP. So he must update his includes.


Re: Help with my code - WhiteGhost - 11.07.2016

Quote:
Originally Posted by Mencent
View Post
Hello!

Update your includes (like a_samp and so on).

- EDIT:
@WhiteGhost:
PlayerTextDrawUseBox is a function of SA-MP. So he must update his includes.
Could also be hes missing the definitions.


Re: Help with my code - Mencent - 11.07.2016

You needn't define the functions.


Re: Help with my code - WhiteGhost - 11.07.2016

Quote:
Originally Posted by Mencent
View Post
You needn't define the functions.
Sorry i didnt mean it like that,i ment for example.
PHP Code:
new PlayerText



Re: Help with my code - Mencent - 11.07.2016

No, not that. When you forgot "PlayerText:"-tag then you get this message:
PHP Code:
warning 213tag mismatch