13.04.2013, 23:28
[Ajuda] Erro ao entrar no servidor
13.04.2013, 23:35
13.04.2013, 23:37
kkkkkkkk peguei um game mode ai pra jogar editei e agora da esse erro oq йs ?
13.04.2013, 23:41
13.04.2013, 23:43
spawnado[playerid] = false;
TextDrawShowForPlayer(playerid, forum2[playerid]);
TextDrawShowForPlayer(playerid, forum[playerid]);
TextDrawShowForPlayer(playerid, TextDrawdeData[playerid]);
TextDrawShowForPlayer(playerid, TextDrawdeHora[playerid]); */
public OnPlayerConnect(playerid)
{
spawnado[playerid] = false;
TextDrawShowForPlayer(playerid, forum2[playerid]);
TextDrawShowForPlayer(playerid, forum[playerid]);
TextDrawShowForPlayer(playerid, TextDrawdeData[playerid]);
TextDrawShowForPlayer(playerid, TextDrawdeHora[playerid]);
new connecting_ip[32+1];
GetPlayerIp(playerid,connecting_ip,32);
new num_players_on_ip = GetNumberOfPlayersOnThisIP(connecting_ip);
if(num_players_on_ip > MAX_CONNECTIONS_FROM_IP) {
printf("MAXIPs: Connecting player(%d) exceeded %d IP connections from %s.", playerid, MAX_CONNECTIONS_FROM_IP, connecting_ip);
Kick(playerid);
return 1;
}
// kk
RemoveBuildingForPlayer(playerid, 10777, -1724.1953, 547.0859, 32.3203, 0.25);
RemoveBuildingForPlayer(playerid, 11245, -2023.7109, 83.9688, 37.8750, 0.25);
RemoveBuildingForPlayer(playerid, 11272, -2037.5391, 79.9297, 34.1094, 0.25);
RemoveBuildingForPlayer(playerid, 3865, -2063.2422, 258.7500, 35.7422, 0.25);
RemoveBuildingForPlayer(playerid, 3865, -2063.0156, 247.9453, 35.7422, 0.25);
RemoveBuildingForPlayer(playerid, 3865, -2057.7500, 249.9531, 35.5938, 0.25);
RemoveBuildingForPlayer(playerid, 3865, -2057.7031, 229.8047, 35.3516, 0.25);
RemoveBuildingForPlayer(playerid, 3865, -2059.5313, 256.5234, 37.0078, 0.25);
RemoveBuildingForPlayer(playerid, 11375, -1724.1953, 547.0859, 32.3203, 0.25);
RemoveBuildingForPlayer(playerid, 11292, -1710.7891, 402.5313, 7.6250, 0.25);
RemoveBuildingForPlayer(playerid, 11008, -2037.5391, 79.9297, 34.1094, 0.25);
RemoveBuildingForPlayer(playerid, 3872, -2048.4531, 265.0938, 41.6563, 0.25);
RemoveBuildingForPlayer(playerid, 3852, -1988.0000, 1160.8047, 45.9375, 0.25);
RemoveBuildingForPlayer(playerid, 3852, -2589.1797, 1163.5156, 55.9531, 0.25);
RemoveBuildingForPlayer(playerid, 3852, -2614.9063, 686.3672, 28.3594, 0.25);
RemoveBuildingForPlayer(playerid, 3852, -2408.3984, 722.9219, 35.7109, 0.25);
RemoveBuildingForPlayer(playerid, 1300, -2520.8281, 638.5391, 27.4844, 0.25);
//RemoveBuildingForPlayer(playerid, 11243, -2056.8906, 69.3203, 32.0000, 0.25);
RemoveBuildingForPlayer(playerid, 10158, -1954.2422, 1358.3672, 18.2031, 0.25); // policia civil
RemoveBuildingForPlayer(playerid, 9950, -1954.2422, 1358.3672, 18.2031, 0.25); // policia civil
// yakuza
RemoveBuildingForPlayer(playerid, 1232, -2916.6172, 419.7344, 6.5000, 0.25);
RemoveBuildingForPlayer(playerid, 1232, -2880.3828, 419.7344, 6.5000, 0.25);
RemoveBuildingForPlayer(playerid, 1280, -2911.4219, 422.3516, 4.2891, 0.25);
RemoveBuildingForPlayer(playerid, 1280, -2886.5859, 422.3516, 4.2891, 0.25);
RemoveBuildingForPlayer(playerid, 1232, -2993.8125, 457.8672, 6.5000, 0.25);
RemoveBuildingForPlayer(playerid, 1232, -2938.4531, 457.5313, 6.5000, 0.25);
RemoveBuildingForPlayer(playerid, 1232, -2961.8906, 484.0156, 6.5000, 0.25);
RemoveBuildingForPlayer(playerid, 1232, -2916.8984, 506.8203, 6.5000, 0.25);
TextDrawShowForPlayer(playerid, forum2[playerid]);
TextDrawShowForPlayer(playerid, forum[playerid]);
TextDrawShowForPlayer(playerid, TextDrawdeData[playerid]);
TextDrawShowForPlayer(playerid, TextDrawdeHora[playerid]); */
public OnPlayerConnect(playerid)
{
spawnado[playerid] = false;
TextDrawShowForPlayer(playerid, forum2[playerid]);
TextDrawShowForPlayer(playerid, forum[playerid]);
TextDrawShowForPlayer(playerid, TextDrawdeData[playerid]);
TextDrawShowForPlayer(playerid, TextDrawdeHora[playerid]);
new connecting_ip[32+1];
GetPlayerIp(playerid,connecting_ip,32);
new num_players_on_ip = GetNumberOfPlayersOnThisIP(connecting_ip);
if(num_players_on_ip > MAX_CONNECTIONS_FROM_IP) {
printf("MAXIPs: Connecting player(%d) exceeded %d IP connections from %s.", playerid, MAX_CONNECTIONS_FROM_IP, connecting_ip);
Kick(playerid);
return 1;
}
// kk
RemoveBuildingForPlayer(playerid, 10777, -1724.1953, 547.0859, 32.3203, 0.25);
RemoveBuildingForPlayer(playerid, 11245, -2023.7109, 83.9688, 37.8750, 0.25);
RemoveBuildingForPlayer(playerid, 11272, -2037.5391, 79.9297, 34.1094, 0.25);
RemoveBuildingForPlayer(playerid, 3865, -2063.2422, 258.7500, 35.7422, 0.25);
RemoveBuildingForPlayer(playerid, 3865, -2063.0156, 247.9453, 35.7422, 0.25);
RemoveBuildingForPlayer(playerid, 3865, -2057.7500, 249.9531, 35.5938, 0.25);
RemoveBuildingForPlayer(playerid, 3865, -2057.7031, 229.8047, 35.3516, 0.25);
RemoveBuildingForPlayer(playerid, 3865, -2059.5313, 256.5234, 37.0078, 0.25);
RemoveBuildingForPlayer(playerid, 11375, -1724.1953, 547.0859, 32.3203, 0.25);
RemoveBuildingForPlayer(playerid, 11292, -1710.7891, 402.5313, 7.6250, 0.25);
RemoveBuildingForPlayer(playerid, 11008, -2037.5391, 79.9297, 34.1094, 0.25);
RemoveBuildingForPlayer(playerid, 3872, -2048.4531, 265.0938, 41.6563, 0.25);
RemoveBuildingForPlayer(playerid, 3852, -1988.0000, 1160.8047, 45.9375, 0.25);
RemoveBuildingForPlayer(playerid, 3852, -2589.1797, 1163.5156, 55.9531, 0.25);
RemoveBuildingForPlayer(playerid, 3852, -2614.9063, 686.3672, 28.3594, 0.25);
RemoveBuildingForPlayer(playerid, 3852, -2408.3984, 722.9219, 35.7109, 0.25);
RemoveBuildingForPlayer(playerid, 1300, -2520.8281, 638.5391, 27.4844, 0.25);
//RemoveBuildingForPlayer(playerid, 11243, -2056.8906, 69.3203, 32.0000, 0.25);
RemoveBuildingForPlayer(playerid, 10158, -1954.2422, 1358.3672, 18.2031, 0.25); // policia civil
RemoveBuildingForPlayer(playerid, 9950, -1954.2422, 1358.3672, 18.2031, 0.25); // policia civil
// yakuza
RemoveBuildingForPlayer(playerid, 1232, -2916.6172, 419.7344, 6.5000, 0.25);
RemoveBuildingForPlayer(playerid, 1232, -2880.3828, 419.7344, 6.5000, 0.25);
RemoveBuildingForPlayer(playerid, 1280, -2911.4219, 422.3516, 4.2891, 0.25);
RemoveBuildingForPlayer(playerid, 1280, -2886.5859, 422.3516, 4.2891, 0.25);
RemoveBuildingForPlayer(playerid, 1232, -2993.8125, 457.8672, 6.5000, 0.25);
RemoveBuildingForPlayer(playerid, 1232, -2938.4531, 457.5313, 6.5000, 0.25);
RemoveBuildingForPlayer(playerid, 1232, -2961.8906, 484.0156, 6.5000, 0.25);
RemoveBuildingForPlayer(playerid, 1232, -2916.8984, 506.8203, 6.5000, 0.25);
13.04.2013, 23:46
Pra comeзo coloca essas linhas em OnGameModeInit e teste.
pawn Код:
// kk
RemoveBuildingForPlayer(playerid, 10777, -1724.1953, 547.0859, 32.3203, 0.25);
RemoveBuildingForPlayer(playerid, 11245, -2023.7109, 83.9688, 37.8750, 0.25);
RemoveBuildingForPlayer(playerid, 11272, -2037.5391, 79.9297, 34.1094, 0.25);
RemoveBuildingForPlayer(playerid, 3865, -2063.2422, 258.7500, 35.7422, 0.25);
RemoveBuildingForPlayer(playerid, 3865, -2063.0156, 247.9453, 35.7422, 0.25);
RemoveBuildingForPlayer(playerid, 3865, -2057.7500, 249.9531, 35.5938, 0.25);
RemoveBuildingForPlayer(playerid, 3865, -2057.7031, 229.8047, 35.3516, 0.25);
RemoveBuildingForPlayer(playerid, 3865, -2059.5313, 256.5234, 37.0078, 0.25);
RemoveBuildingForPlayer(playerid, 11375, -1724.1953, 547.0859, 32.3203, 0.25);
RemoveBuildingForPlayer(playerid, 11292, -1710.7891, 402.5313, 7.6250, 0.25);
RemoveBuildingForPlayer(playerid, 11008, -2037.5391, 79.9297, 34.1094, 0.25);
RemoveBuildingForPlayer(playerid, 3872, -2048.4531, 265.0938, 41.6563, 0.25);
RemoveBuildingForPlayer(playerid, 3852, -1988.0000, 1160.8047, 45.9375, 0.25);
RemoveBuildingForPlayer(playerid, 3852, -2589.1797, 1163.5156, 55.9531, 0.25);
RemoveBuildingForPlayer(playerid, 3852, -2614.9063, 686.3672, 28.3594, 0.25);
RemoveBuildingForPlayer(playerid, 3852, -2408.3984, 722.9219, 35.7109, 0.25);
RemoveBuildingForPlayer(playerid, 1300, -2520.8281, 638.5391, 27.4844, 0.25);
//RemoveBuildingForPlayer(playerid, 11243, -2056.8906, 69.3203, 32.0000, 0.25);
RemoveBuildingForPlayer(playerid, 10158, -1954.2422, 1358.3672, 18.2031, 0.25); // policia civil
RemoveBuildingForPlayer(playerid, 9950, -1954.2422, 1358.3672, 18.2031, 0.25); // policia civil
// yakuza
RemoveBuildingForPlayer(playerid, 1232, -2916.6172, 419.7344, 6.5000, 0.25);
RemoveBuildingForPlayer(playerid, 1232, -2880.3828, 419.7344, 6.5000, 0.25);
RemoveBuildingForPlayer(playerid, 1280, -2911.4219, 422.3516, 4.2891, 0.25);
RemoveBuildingForPlayer(playerid, 1280, -2886.5859, 422.3516, 4.2891, 0.25);
RemoveBuildingForPlayer(playerid, 1232, -2993.8125, 457.8672, 6.5000, 0.25);
RemoveBuildingForPlayer(playerid, 1232, -2938.4531, 457.5313, 6.5000, 0.25);
RemoveBuildingForPlayer(playerid, 1232, -2961.8906, 484.0156, 6.5000, 0.25);
RemoveBuildingForPlayer(playerid, 1232, -2916.8984, 506.8203, 6.5000, 0.25);
13.04.2013, 23:54
da um erro '-'
13.04.2013, 23:57
erro ao compilar
13.04.2013, 23:57
Quote:
Pra comeзo coloca essas linhas em OnGameModeInit e teste.
pawn Код:
|
como que vai usar em gamemodeinit? com loop? mas acho q n funciona direito! mas tenta
14.04.2013, 00:06
nao funcionou continua o msm erro
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)