[FilterScript] Turn on/off the light in the house...
#21

Yes i know i have that
new Text:Player_lights[MAX_PLAYERS];
But again told me that i have 4 erors with this on the line 46 on the line 46 i have only
Player_lights[i] = TextDrawCreate(0.0, 0.0, "|"); HELP PLEASE
Reply
#22

It takes place:

pawn Код:
new Text:Player_lights[MAX_PLAYERS];
At the top of your script.
Reply
#23

error 017: undefined symbol "cmd"
error 017: undefined symbol "Player_infos"

if(strcmp(cmd, "/lightshouse", true) == 0)
if(Player_infos[playerid][p_InHouse] == -1) // The variable that determines whether or not you are in the house.

I making filterscript and i have problems with this i don't know why i know making filterscript but something wrong
can you make this fs again and send me download link..??
Reply
#24

error 017: undefined symbol "Player_infos"
But i have defined Player_infos

Quote:

if(Player_infos[playerid][p_InHouse] == -1)
{
SendClientMessage(playerid, YOUR_COLOR, "You must be in a house to write this command.");
return 1;
}
new h = Player_infos[playerid][p_InHouse];

Reply
#25

It is set according to your gamemode, and p_InHouse it is also up to you to do so, add it to your list.

It should look a little anyway!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Reply
#26

Pictures Please!
Reply
#27

There is an non-mysql version?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)