(38990) : warning 219: local variable "doors" shadows a variable at a preceding level
(38990) : warning 219: local variable "lights" shadows a variable at a preceding level
(39021) : warning 219: local variable "doors" shadows a variable at a preceding level
(39021) : warning 219: local variable "lights" shadows a variable at a preceding level
new panels,doors,lights,tires;
EDIT: can you write the warnings you get after deleting it.
|
(38990) : warning 219: local variable "doors" shadows a variable at a preceding level
(38990) : warning 219: local variable "lights" shadows a variable at a preceding level
(39021) : warning 219: local variable "doors" shadows a variable at a preceding level
(39021) : warning 219: local variable "lights" shadows a variable at a preceding level
new pname[MAX_PLAYER_NAME];
new namestr = strfind(pname, "_", true);
if(namestr == -1)
{
GetPlayerName(playerid, pname, sizeof(pname));
SendClientMessage(playerid, COLOR_RED, "Your name must be like this Firstname_Lastname");
Kick(playerid);
return 1;
}