26.03.2012, 14:55
Bom й assim, hoje comecei a fazer um GM de TDM desde a raiz. E to tendo um problema que nгo consigo resolver!
Avisos:
OnPlayerConnect:
Linha 80:
Linha 86:
Ajudem pff
+resp quem ajudar
Avisos:
pawn Code:
D:\Gta San Andreas\Server\gamemodes\Skun.pwn(80) : warning 202: number of arguments does not match definition
D:\Gta San Andreas\Server\gamemodes\Skun.pwn(86) : warning 202: number of arguments does not match definition
pawn Code:
public OnPlayerConnect(playerid)
{
new var1[122];
new pName[MAX_PLAYER_NAME];
new pIp[124];
GetPlayerIp(playerid, pIp, 124);
GetPlayerName(playerid, pName, sizeof(pName));
format(var1, 256, "%s (%d) Entrou no Servidor (IP: %s).", pName, playerid, pIp);
SendClientMessageToAll(0xFFFFFFAA, var1);
GameTextForPlayer(playerid, "~r~Tuga Generation TDM~n~~g~ Diverte-te!!!", 2500, 5);
SendClientMessage(playerid, 0xFFFF00AA, "•~~~~•••~~~~~~~~~~•••~~~~~~~~~~~~~ Bem vindo %s •~~~~•••~~~~~~~~~~•••~~~~~~~~~~~~~•", pName);
SendClientMessage(playerid, 0xFFA500AA, "• • • Tuga Generation TDM V1.0 - SA:MP versгo 0.3d • • • ");
SendClientMessage(playerid, -1, " ");
SendClientMessage(playerid, 0xFFA500AA, "• • • A Staff Tuga Generation agradeзe a tua preferкncia. • • • ");
SendClientMessage(playerid, -1, " ");
SendClientMessage(playerid, 0xFFA500AA, "• • • Para visualizares alguns comandos usa: /ajuda. • • • ");
SendClientMessage(playerid, 0xFFFF00AA, "•~~~~•••~~~~~~~~~~•••~~~~~~~~~~~~~ Bom Jogo %s •~~~~•••~~~~~~~~~~•••~~~~~~~~~~~~~•", pName);
PlayerPlaySound(playerid, 1062, 0, 0, 0);
return 1;
}
pawn Code:
SendClientMessage(playerid, 0xFFFF00AA, "•~~~~•••~~~~~~~~~~•••~~~~~~~~~~~~~ Bem vindo %s •~~~~•••~~~~~~~~~~•••~~~~~~~~~~~~~•", pName);
pawn Code:
SendClientMessage(playerid, 0xFFFF00AA, "•~~~~•••~~~~~~~~~~•••~~~~~~~~~~~~~ Bom Jogo %s •~~~~•••~~~~~~~~~~•••~~~~~~~~~~~~~•", pName);
+resp quem ajudar