[AJUDA]Erro Dialog ..
#1

E Ae Galera Outra Vez Eu Aqui ... =(
Mais Seguinte Vo Explicar Pra Vocкs O Que Estб Acontencendo ..
Tipo Quero Colocar 5 Pistas Em 1 So Dialog ..
So Que Quando Coloco A 3 Pista No Dialog Simplismente Aparece Muitos Errors ...
Olhe O Comando Inteiro Com A Public E Tudo ..
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{

    if(dialogid == 1337)
    {
    if(response)
    {
    if(listitem == 0)
    {
    if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
	   if(IsPlayerInAnyVehicle(playerid)) {
	   new VehicleID;
	   VehicleID = GetPlayerVehicleID(playerid);
	   SetVehiclePos(VehicleID,-2418.4846,-614.8561,132.2391);
       SetVehicleZAngle(GetPlayerVehicleID(playerid), 35.9913);
	   new pname[MAX_PLAYER_NAME];
	   new string [256];
	   GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
	   format(string, sizeof(string), "%s Foi Fazer Drift Em TPD1 ( /tpd1 )", pname);
	   SendClientMessageToAll(0xFF9900AA, string);
	   SetPlayerInterior(playerid,0);
	   }
	   else{
       new pname[MAX_PLAYER_NAME];
       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
       format(string, sizeof(string), "%s Foi Fazer Drift Em TPD1 ( /tpd1 )", pname);
       SendClientMessageToAll(0xFF9900AA, string);
       SetPlayerInterior(playerid,0);
       SetPlayerPos(playerid,-2418.4846,-614.8561,132.2391);
       SetPlayerFacingAngle(playerid, 35.9913);
       ResetPlayerWeapons(playerid);
	   }
       }
       }
       }
    if(listitem == 1)
    {
    if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
	   if(IsPlayerInAnyVehicle(playerid)) {
	   new VehicleID;
	   VehicleID = GetPlayerVehicleID(playerid);
	   SetVehiclePos(VehicleID,-302.7378,1532.6254,75.0172);
       SetVehicleZAngle(GetPlayerVehicleID(playerid), 181.0729);
	   new pname[MAX_PLAYER_NAME];
	   GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
	   format(string, sizeof(string), "%s Foi Fazer Drift Em TPD2 ( /tpd2 )", pname);
	   SendClientMessageToAll(0xFF9900AA, string);
	   SetPlayerInterior(playerid,0);
	   }
	   else{
       new pname[MAX_PLAYER_NAME];
       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
       format(string, sizeof(string), "%s Foi Fazer Drift Em TPD2 ( /tpd2 )", pname);
       SendClientMessageToAll(0xFF9900AA, string);
       SetPlayerInterior(playerid,0);
       SetPlayerPos(playerid,-302.7378,1532.6254,75.0172);
       SetPlayerFacingAngle(playerid, 181.0729);
       ResetPlayerWeapons(playerid);
	   }
       }
       }
    if(listitem == 2)
    {
    if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
	   if(IsPlayerInAnyVehicle(playerid)) {
	   new VehicleID;
	   VehicleID = GetPlayerVehicleID(playerid);
	   SetVehiclePos(VehicleID,1260.8165,-2055.7664,59.0758);
       SetVehicleZAngle(GetPlayerVehicleID(playerid), 267.3261);
	   new pname[MAX_PLAYER_NAME];
	   new string [256];
	   GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
	   format(string, sizeof(string), "%s Foi Fazer Drift Em TPD3 ( /tpd3 )", pname);
	   SendClientMessageToAll(0xFF9900AA, string);
	   SetPlayerInterior(playerid,0);
	   }
	   else{
       new pname[MAX_PLAYER_NAME];
       new string [256];
       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
       format(string, sizeof(string), "%s Foi Fazer Drift Em TPD3 ( /tpd3 )", pname);
       SendClientMessageToAll(0xFF9900AA, string);
       SetPlayerInterior(playerid,0);
       SetPlayerPos(playerid,1260.8165,-2055.7664,59.0758);
       SetPlayerFacingAngle(playerid, 267.3261);
       ResetPlayerWeapons(playerid);
	   }
	   }
Quando Compilo Ele Assim Aparece Isso :
Код:
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(600) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(608) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(608) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(824) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(827) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(828) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(835) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(836) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(848) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(851) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(852) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(859) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(860) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(872) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(875) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(876) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(883) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(884) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(896) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(899) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(900) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(907) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(908) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(923) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(926) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(927) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(934) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(935) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(947) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(950) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(951) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(958) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(959) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(971) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(974) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(975) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(982) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(983) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(998) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1001) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1002) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1009) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1010) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1022) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1025) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1026) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1033) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1034) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1046) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1049) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1050) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1057) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1058) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1070) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1073) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1074) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1081) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1082) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1094) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1097) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1098) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1105) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1106) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1118) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1121) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1122) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1129) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1130) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1142) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1145) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1146) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1153) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1154) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1166) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1169) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1170) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1177) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1178) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1190) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1193) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1194) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1201) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1202) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1214) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1217) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1218) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1225) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1226) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1238) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1241) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1242) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1249) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1250) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1262) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1265) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1266) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1273) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1274) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1289) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1292) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1293) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1300) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1301) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1316) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1319) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1320) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1327) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1328) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1340) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1343) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1344) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1351) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1352) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1364) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1367) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1368) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1375) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1376) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1391) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1394) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1395) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1402) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1403) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1415) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1418) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1419) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1426) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1427) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1463) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1466) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1467) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1474) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1475) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1498) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1502) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1503) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1510) : warning 219: local variable "pname" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1512) : error 017: undefined symbol "string"
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1512) : error 017: undefined symbol "string"
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1512) : error 029: invalid expression, assumed zero
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1512) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Agora Quando Eu Tiro O Ultimo Teleporte Olha O Que Acontece :
Код:
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
Fica Normal O Comando Й O Mesmo A Mesma Coisa Tudo Igual .. Nгo Sei Por Que Aparece Esses Errors E Warnings Podem Me Ajudar ? Por Favor !
Reply
#2

Passa a linha 1512 q acho q sei qual й o erro, os warnings n importam ja q n atrapalham em nada no server depois..
Reply
#3

Quote:
Originally Posted by Gustavob
Посмотреть сообщение
Passa a linha 1512 q acho q sei qual й o erro, os warnings n importam
gustavo, algumas warns nao importam mas outras sao como erros mesmos, nesse caso й bom arrumar essas warns, pq alem de ser muitas tb sao "iguais"


Ve meu video

|
V
Reply
#4

Quote:
Originally Posted by [WinG]BiieL
Посмотреть сообщение
gustavo, algumas warns nao importam mas outras sao como erros mesmos, nesse caso й bom arrumar essas warns, pq alem de ser muitas tb sao "iguais"
Essas warnings n causam nada diferente na verdade pelo que eu sei, simplesmente sao variaveis jб criadas anteriormente e repetidas, eu tenho umas warnings dessas e n acontece nada de mal..
Reply
#5

LINHA 1512 : GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
Reply
#6

Bom cara, voce pode fazer o seguinte:

pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    new pname[MAX_PLAYER_NAME];
    new string[256];
    //resto do cуdigo na public
}
E remover os outros new pname; e new string;, se nao funcionar avisa.
Reply
#7

Lol Man N Intendi Nгo Explica Melhor Ae Pq Tambem Tem O ID Da Dialog Pow .. 1337
Reply
#8

pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    new pname[MAX_PLAYER_NAME];
    new string[256];

    if(dialogid == 1337)
    {
    if(response)
    {
    if(listitem == 0)
    {
    if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
       if(IsPlayerInAnyVehicle(playerid)) {
       new VehicleID;
       VehicleID = GetPlayerVehicleID(playerid);
       SetVehiclePos(VehicleID,-2418.4846,-614.8561,132.2391);
       SetVehicleZAngle(GetPlayerVehicleID(playerid), 35.9913);
       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
       format(string, sizeof(string), "%s Foi Fazer Drift Em TPD1 ( /tpd1 )", pname);
       SendClientMessageToAll(0xFF9900AA, string);
       SetPlayerInterior(playerid,0);
       }
       else{
       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
       format(string, sizeof(string), "%s Foi Fazer Drift Em TPD1 ( /tpd1 )", pname);
       SendClientMessageToAll(0xFF9900AA, string);
       SetPlayerInterior(playerid,0);
       SetPlayerPos(playerid,-2418.4846,-614.8561,132.2391);
       SetPlayerFacingAngle(playerid, 35.9913);
       ResetPlayerWeapons(playerid);
       }
       }
       }
       }
    if(listitem == 1)
    {
    if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
       if(IsPlayerInAnyVehicle(playerid)) {
       new VehicleID;
       VehicleID = GetPlayerVehicleID(playerid);
       SetVehiclePos(VehicleID,-302.7378,1532.6254,75.0172);
       SetVehicleZAngle(GetPlayerVehicleID(playerid), 181.0729);
       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
       format(string, sizeof(string), "%s Foi Fazer Drift Em TPD2 ( /tpd2 )", pname);
       SendClientMessageToAll(0xFF9900AA, string);
       SetPlayerInterior(playerid,0);
       }
       else{
        GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
       format(string, sizeof(string), "%s Foi Fazer Drift Em TPD2 ( /tpd2 )", pname);
       SendClientMessageToAll(0xFF9900AA, string);
       SetPlayerInterior(playerid,0);
       SetPlayerPos(playerid,-302.7378,1532.6254,75.0172);
       SetPlayerFacingAngle(playerid, 181.0729);
       ResetPlayerWeapons(playerid);
       }
       }
       }
    if(listitem == 2)
    {
    if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
       if(IsPlayerInAnyVehicle(playerid)) {
       new VehicleID;
       VehicleID = GetPlayerVehicleID(playerid);
       SetVehiclePos(VehicleID,1260.8165,-2055.7664,59.0758);
       SetVehicleZAngle(GetPlayerVehicleID(playerid), 267.3261);
       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
       format(string, sizeof(string), "%s Foi Fazer Drift Em TPD3 ( /tpd3 )", pname);
       SendClientMessageToAll(0xFF9900AA, string);
       SetPlayerInterior(playerid,0);
       }
       else{
       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
       format(string, sizeof(string), "%s Foi Fazer Drift Em TPD3 ( /tpd3 )", pname);
       SendClientMessageToAll(0xFF9900AA, string);
       SetPlayerInterior(playerid,0);
       SetPlayerPos(playerid,1260.8165,-2055.7664,59.0758);
       SetPlayerFacingAngle(playerid, 267.3261);
       ResetPlayerWeapons(playerid);
       }
       }
Isso aн ↑ deve funcionar
Reply
#9

Код:
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(824) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(848) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(872) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(896) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(923) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(947) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(971) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(998) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1022) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1046) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1070) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1094) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1118) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1142) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1166) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1190) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1214) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1238) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1262) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1289) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1316) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1340) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1364) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1391) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1415) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1463) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1500) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1525) : warning 219: local variable "VehicleID" shadows a variable at a preceding level
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1545) : error 010: invalid function or declaration
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1547) : error 010: invalid function or declaration
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1548) : error 010: invalid function or declaration
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1550) : error 010: invalid function or declaration
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1558) : error 010: invalid function or declaration
D:\Duany\Jogos\Samp 0.3b\gamemodes\TPD.pwn(1568) : warning 203: symbol is never used: "VehicleID"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.
Reply
#10

Ok, nao funcionou :$
passa as linhas: 1545, 1547, 1548, 1550, 1558
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)