Re: Turn on/off the light in the house... -
osman2571 - 26.05.2014
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
Re: Turn on/off the light in the house... -
TheSy - 26.05.2014
It takes place:
pawn Код:
new Text:Player_lights[MAX_PLAYERS];
At the top of your script.
Re: Turn on/off the light in the house... -
osman2571 - 26.05.2014
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..??
Re: Turn on/off the light in the house... -
osman2571 - 26.05.2014
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];
|
Re: Turn on/off the light in the house... -
TheSy - 26.05.2014
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!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Re: Turn on/off the light in the house... -
satafinix - 26.05.2014
Pictures Please!
Re: Turn on/off the light in the house... -
DemME - 26.05.2014
There is an non-mysql version?