08.05.2012, 14:36
to fazendo meu gamemode deathmatch, ele tem 11 warnings alguem pode adicionar meu skype e tirar os warnings ou me ensinar a tiralos? skype:lucas.rawr2
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\gamemodes\ServidordeTestes.pwn(177) : warning 202: number of arguments does not match definition C:\Documents and Settings\Administrador\Desktop\Jogos\DS\gamemodes\ServidordeTestes.pwn(179) : warning 202: number of arguments does not match definition C:\Documents and Settings\Administrador\Desktop\Jogos\DS\gamemodes\ServidordeTestes.pwn(249) : warning 225: unreachable code C:\Documents and Settings\Administrador\Desktop\Jogos\DS\gamemodes\ServidordeTestes.pwn(396) : warning 203: symbol is never used: "ret_memcpy" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Warnings.
//-------------------------Pay' Spray--------------------------------------- if(strcmp(cmdtext,"/ps",true)==0) { new vehicleid = GetPlayerVehicleID(playerid); new State = GetPlayerState(playerid); if(IsPlayerInAnyVehicle(playerid) && State == PLAYER_STATE_DRIVER) { GameTextForPlayer(playerid,"Bem Vindo A Pay'n Spray",4000,6); LinkVehicleToInterior(vehicleid,0); SetPlayerInterior(playerid,0); return SetVehiclePos(vehicleid,2081.2065,-1831.3055,13.3828,90); } SetPlayerPos(playerid,2081.2065,-1831.3055,13.3828,90); SetPlayerInterior(playerid,0); GameTextForPlayer(playerid,"Bem Vindo A Pay'n Spray",4000,6); return 1; }
if(strcmp(cmdtext,"/ps",true)==0)
{
new vehicleid = GetPlayerVehicleID(playerid);
new State = GetPlayerState(playerid);
if(IsPlayerInAnyVehicle(playerid) && State == PLAYER_STATE_DRIVER)
{
GameTextForPlayer(playerid,"Bem Vindo A Pay'n Spray",4000,6);
LinkVehicleToInterior(vehicleid,0);
SetPlayerInterior(playerid,0);
return SetVehiclePos(vehicleid,2081.2065,-1831.3055,13.3828);
}
SetPlayerPos(playerid,2081.2065,-1831.3055,13.3828);
SetPlayerInterior(playerid,0);
GameTextForPlayer(playerid,"Bem Vindo A Pay'n Spray",4000,6);
return 1;
}
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\gamemodes\ServidordeTestes.pwn(260) : warning 225: unreachable code C:\Documents and Settings\Administrador\Desktop\Jogos\DS\gamemodes\ServidordeTestes.pwn(407) : warning 203: symbol is never used: "ret_memcpy" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Warnings.
//---------------------------------[AJUDA]---------------------------------- if (strcmp ("/ajuda", cmdtext, true, 10) == 0) { SendClientMessage(playerid, COR_VERMELHOE, "__________________________ AJUDA __________________________"); SendClientMessage(playerid, COR_CINZA, "- Gamemode para testes, feito por Lucas Rawr."); SendClientMessage(playerid, COR_VERMELHO, "- Digite </equipar> para se equipar."); SendClientMessage(playerid, COR_CINZA, "- Digite </comandos> para saber sobre mais comandos."); SendClientMessage(playerid, COR_VERMELHO, "- Digite </creditos> para ver os crйditos do gamemode."); SendClientMessage(playerid, COR_CINZA, "- Digite </objetivo> para ver o objetivo do gamemode."); SendClientMessage(playerid, COR_VERMELHOE, "ЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇ"); }
if (strcmp ("/ajuda", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COR_VERMELHOE, "__________________________ AJUDA __________________________");
SendClientMessage(playerid, COR_CINZA, "- Gamemode para testes, feito por Lucas Rawr.");
SendClientMessage(playerid, COR_VERMELHO, "- Digite </equipar> para se equipar.");
SendClientMessage(playerid, COR_CINZA, "- Digite </comandos> para saber sobre mais comandos.");
SendClientMessage(playerid, COR_VERMELHO, "- Digite </creditos> para ver os crйditos do gamemode.");
SendClientMessage(playerid, COR_CINZA, "- Digite </objetivo> para ver o objetivo do gamemode.");
SendClientMessage(playerid, COR_VERMELHOE, "ЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇ");
return 1;
}
PlayAudioStreamForPlayer
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\gamemodes\ ServidordeTestes.pwn(510) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\gamemodes\ ServidordeTestes.pwn(715) : warning 225: unreachable code C:\Documents and Settings\Administrador\Desktop\Jogos\DS\gamemodes\ ServidordeTestes.pwn(862) : warning 203: symbol is never used: "ret_memcpy" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. |
native PlayAudioStreamForPlayer(playerid, url[], Float:posX = 0.0, Float:posY = 0.0, Float:posZ = 0.0, Float:distance = 50.0, usepos = 0);
native StopAudioStreamForPlayer(playerid);