25.09.2012, 10:50
(
Последний раз редактировалось MrPlatinum; 28.09.2012 в 10:46.
)
(fixed) please delete
error 021: symbol already defined: "print"
main()
{
new
buf[129];
printf("hash");
WP_Hash(buf, sizeof (buf), "The quick brown fox jumps over the lazy dog");
print(buf);
}
// Print some standard lines to the server's console
print("\n----------------------------------");
print(GameModeName);
print("----------------------------------\n");
}
C:\Users\Brandon\Desktop\SERVER\pawno\include\PPC_PlayerCommands.inc(2904) : warning 219: local variable "HostCommand" shadows a variable at a preceding level C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(93) : error 021: symbol already defined: "print" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(100) : error 021: symbol already defined: "format" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(104) : error 021: symbol already defined: "GameModeInit_VehiclesPickups" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(105) : error 021: symbol already defined: "GameModeInit_Classes" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(107) : error 021: symbol already defined: "Convoys_Init" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(109) : error 021: symbol already defined: "ShowPlayerMarkers" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(117) : error 021: symbol already defined: "SetTimer" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(119) : error 021: symbol already defined: "SetTimer" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(121) : error 021: symbol already defined: "SetTimer" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(124) : error 021: symbol already defined: "FixHouses" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(127) : error 021: symbol already defined: "SetTimer" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(129) : error 010: invalid function or declaration C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "AddCarDealerPickup" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "AddRefuelPickup" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "AddTollGate" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "BusinessFile_Load" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "BusinessTime_Load" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "Business_LoadAll" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "CameraFile_Load" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "Camera_LoadAll" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "Convoys_Init" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "GameModeInit_Airports" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "GameModeInit_Assistance" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "GameModeInit_Busses" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "GameModeInit_Busstops" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "GameModeInit_Classes" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "GameModeInit_Courier" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "GameModeInit_Mafia" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "GameModeInit_PickupsIcons" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "GameModeInit_Police" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "GameModeInit_RoadWorker" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "GameModeInit_Toll" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "GameModeInit_TruckDepots" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "GameModeInit_VehiclesPickups" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "HostCommand" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "Housing_LoadAll" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "IntrestTime_Load" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "Vehicle_AddStatic" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 12 Errors.
got this error.
Код HTML:
C:\Users\Brandon\Desktop\SERVER\pawno\include\PPC_PlayerCommands.inc(2904) : warning 219: local variable "HostCommand" shadows a variable at a preceding level C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(93) : error 021: symbol already defined: "print" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(100) : error 021: symbol already defined: "format" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(104) : error 021: symbol already defined: "GameModeInit_VehiclesPickups" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(105) : error 021: symbol already defined: "GameModeInit_Classes" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(107) : error 021: symbol already defined: "Convoys_Init" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(109) : error 021: symbol already defined: "ShowPlayerMarkers" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(117) : error 021: symbol already defined: "SetTimer" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(119) : error 021: symbol already defined: "SetTimer" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(121) : error 021: symbol already defined: "SetTimer" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(124) : error 021: symbol already defined: "FixHouses" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(127) : error 021: symbol already defined: "SetTimer" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(129) : error 010: invalid function or declaration C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "AddCarDealerPickup" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "AddRefuelPickup" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "AddTollGate" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "BusinessFile_Load" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "BusinessTime_Load" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "Business_LoadAll" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "CameraFile_Load" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "Camera_LoadAll" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "Convoys_Init" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "GameModeInit_Airports" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "GameModeInit_Assistance" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "GameModeInit_Busses" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "GameModeInit_Busstops" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "GameModeInit_Classes" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "GameModeInit_Courier" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "GameModeInit_Mafia" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "GameModeInit_PickupsIcons" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "GameModeInit_Police" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "GameModeInit_RoadWorker" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "GameModeInit_Toll" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "GameModeInit_TruckDepots" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "GameModeInit_VehiclesPickups" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "HostCommand" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "Housing_LoadAll" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "IntrestTime_Load" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1481) : warning 203: symbol is never used: "Vehicle_AddStatic" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 12 Errors. |
main()
{
new buf[129];
printf("hash");
WP_Hash(buf, sizeof (buf), "The quick brown fox jumps over the lazy dog");
print(buf);
// Print some standard lines to the server's console
print("\n----------------------------------");
print(GameModeName);
print("----------------------------------\n");
}
public OnGameModeInit()
{
SetGameModeText("My Gamemode name");
new buf[129];
printf("hash");
WP_Hash(buf, sizeof (buf), "The quick brown fox jumps over the lazy dog");
print(buf);
//other stuff you have
}
main()
{ // opening main here
new
buf[129];
printf("hash");
WP_Hash(buf, sizeof (buf), "The quick brown fox jumps over the lazy dog");
print(buf);
} // closing main here
print("\n----------------------------------");
print(GameModeName);
print("----------------------------------\n");
} // closing ???? here
main() { new buf[129]; printf("hash"); WP_Hash(buf, sizeof (buf), "The quick brown fox jumps over the lazy dog"); print(buf); // Print some standard lines to the server's console print("\n----------------------------------"); print(GameModeName); print("----------------------------------\n"); }
native WP_Hash(buffer[], len, const str[]);
new buf[145];
WP_Hash(buf, sizeof(buf), params);
new buf[145];
WP_Hash(buf, sizeof(buf), params);
new hashq[145];
WP_Hash(hashq, sizeof(hashq), inputtext);