19.08.2009, 04:01
Alright,
Im new at scripting for SAMP. Its alot harder then most games. I have started out with a deathmatch script and its going really well. Got pretty much everything that i wanted to get up up. But i was looking around with FilterScripts and found a admin system one. Its a great admin system. I love it. But a friend that has been helping me learn and everything says its better to hardcode the stuff in ur script. So i started on that tonight. Got everthing fixed execpt for 4 errors. Which are as following:
(125) : warning 219: local variable "plName" shadows a variable at a preceding level
(135) : warning 219: local variable "plName" shadows a variable at a preceding level
(177) : error 029: invalid expression, assumed zero
(177) : warning 215: expression has no effect
(177) : error 001: expected token: ";", but found "]"
(177) : error 029: invalid expression, assumed zero
(177) : fatal error 107: too many error messages on one line
4 Errors.
Now i no what error 107 is. Its easy. But the others i dont no. Here are the lines of script that have the errors on them:
(135) new plName[MAX_PLAYER_NAME], string[56];
(177) if([playerid][Muted] == 1)
Please Help Me out with this,
Rick
Im new at scripting for SAMP. Its alot harder then most games. I have started out with a deathmatch script and its going really well. Got pretty much everything that i wanted to get up up. But i was looking around with FilterScripts and found a admin system one. Its a great admin system. I love it. But a friend that has been helping me learn and everything says its better to hardcode the stuff in ur script. So i started on that tonight. Got everthing fixed execpt for 4 errors. Which are as following:
(125) : warning 219: local variable "plName" shadows a variable at a preceding level
(135) : warning 219: local variable "plName" shadows a variable at a preceding level
(177) : error 029: invalid expression, assumed zero
(177) : warning 215: expression has no effect
(177) : error 001: expected token: ";", but found "]"
(177) : error 029: invalid expression, assumed zero
(177) : fatal error 107: too many error messages on one line
4 Errors.
Now i no what error 107 is. Its easy. But the others i dont no. Here are the lines of script that have the errors on them:
(135) new plName[MAX_PLAYER_NAME], string[56];
(177) if([playerid][Muted] == 1)
Please Help Me out with this,
Rick