Pawno Error please help! - 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: Pawno Error please help! (
/showthread.php?tid=431322)
Pawno Error please help! -
Mappers4Life - 17.04.2013
I was watching a tutorial and im sure i did everything he did. What im trying to do is when someone connects it sends them a message and tells them how many players are connected, but when someone leaves i want it to tell how many players are connected but take away 1 like "Welcome there a currently <Players connected> enjoy" and when they leave it says to the other players "There are now currently <Players connected> amount of players" thats what im trying to do. So heres my error
Here is the compiler. (Scroll down for the code)
This is the code. (If you cant see click this:
http://pastebin.com/mqdS9xKR)
Re: Pawno Error please help! -
Necip - 17.04.2013
Add a ";" at the end of the line 59 and also a comma (,) after playerid
Re: Pawno Error please help! -
TomatoRage - 17.04.2013
Line 59 between playerid and the color put , and in the end put ;
Re: Pawno Error please help! -
Mappers4Life - 17.04.2013
Quote:
Line 59 between playerid and the color put, and in the end put;
|
Quote:
Add a ; at the end of line 59 and also put a comma (,) after playerid
|
Thank you both but i didnt need to put the ; at the end, oh well