16.04.2015, 17:45
Use 'char' in array (i.e. new string[128 char]).
Reorders your code, i.e. use less bracket. Change:
with:
Read tutorials about improving your code
Reorders your code, i.e. use less bracket. Change:
pawn Код:
for(new i = 0; i != MAX_PLAYERS; i++)
{
if(IsPlayerConnected(playerid))
{
if(Player_Info[playerid][pHouse] == 1)
{
Player_Info[playerid][pHouse] = 0;
}
}
}
pawn Код:
for(new i = 0; i != MAX_PLAYERS; i++)
if(IsPlayerConnected(playerid) && Player_Info[playerid][pHouse] == 1)
Player_Info[playerid][pHouse] = 0;