18.02.2011, 21:41
(
Последний раз редактировалось Unknown123; 20.02.2011 в 15:30.
)
'From here' 'To here' bugs the MySQL items...
So how to fix :S
if i do "/*" and "*/" Between 'From here' and 'To here' then the MySQL works smooth :P
So how to fix :S
if i do "/*" and "*/" Between 'From here' and 'To here' then the MySQL works smooth :P
pawn Код:
public OnPlayerConnect(playerid)
{
//I got something here
//I got something here
//I got something here
//Ect...
//From here
new IP[16], servername[128], string[66], playername[MAX_PLAYER_NAME];
GetPlayerIp(playerid, IP, sizeof(IP));
GetPlayerName(playerid, playername, sizeof(playername));
GetServerVarAsString("hostname", servername, sizeof(servername));
for(new i; i < MAX_PLAYERS; i++)
{
if(IsPlayerAdmin(i))
{
format(string, sizeof(string), "%s(%d) Has Joined %s. (IP: %s)", playername, playerid, servername,IP);
SendClientMessage(i, 0x808080FF, string);
}
else
{
format(string, sizeof(string), "%s(%d) Has Joined %s.", playername, playerid, servername);
SendClientMessage(i, 0x808080FF, string);
}
}
//To here
//I got some TextDraws here
//I got some TextDraws here
//I got some TextDraws here
//I got MySQL things here
//I got MySQL things here
return 1;
}