C:\\Documents and Settings\\Kazuya\\Asztal\\NiceRPG\\gamemodes\\NiceRPG.pwn(19874) : error 001: expected token: \"-identifier-\", but found \"if\"Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 1 Error.
if(IsPlayerInRangeOfPoint(playerid, 10.0, -2244.2505,-2561.1172,31.9219));
CMD:fegyvervesz(playerid, params[]){new Loszer, Fegyver, S[128],if(IsPlayerInRangeOfPoint(playerid, 10.0, -2244.2505,-2561.1172,31.9219));if(sscanf(params, \"dd\", Fegyver, Loszer)) return SendClientMessage(playerid, PIROS, \"Használat: /fegyvervesz < Colt-45(30Ft/lõszer) - 1 | Silenced Colt-45(20Ft/lõszer) - 2 > < Mennyit >\");if(Fegyver < 1 || Fegyver > 2) return SendClientMessage(playerid, PIROS, \"Eladó: Nem árulunk itt ilyen fegyvert.\");if(Loszer <= 0) return SendClientMessage(playerid, PIROS, \"Nem vehetsz 0 lõszert!\");switch(Fegyver){case 1:{ pInfo[playerid][pMoney] -= 30*Loszer; format(S, sizeof(S), \"Vettél egy Colt-45-öt %d lõszerrel %dFt-ért.\", Loszer, 30*Loszer); SendClientMessage(playerid, PIROS, S);}case 2:{ pInfo[playerid][pMoney] -= 30*Loszer; format(S, sizeof(S), \"Vettél egy Silenced Colt-45-öt %d lõszerrel %dFt-ért.\", Loszer, 30*Loszer); SendClientMessage(playerid, PIROS, S);}}return 0;}
Azért arra a sorra adja, mert mindaddig kereste a legutolsó változót, és a pntosvesszõt, mivel te vesszõt tettél utánuk, erre azt hitte, még fogsz oda írni. A változó létrehozás végére \",\" helyett \";\".
public Convoy_Timer(Convoy){// Setup local variablesnew LeaderID, MemberID;// Update the textdraws for all convoy members Convoy_UpdateTextDraws(Convoy);// Get the leader-idLeaderID = AConvoys[Convoy][Members][0]; // Check the jobstep for the entire convoyswitch (AConvoys[Convoy][ConvoyStep]){case 0: // Convoy has just been created, but a job hasn\'t started yet by the leader{ new bool:AllSameTrailer = true; // Keep checking if the leader has started a job already if (APlayerData[LeaderID][JobStarted] == true) { // Copy the job-data from the leader to the convoy AConvoys[Convoy][LoadID] = APlayerData[LeaderID][LoadID]; AConvoys[Convoy][Location1] = APlayerData[LeaderID][JobLoc1]; AConvoys[Convoy][Location2] = APlayerData[LeaderID][JobLoc2]; // Set the trailer-model required by all members to the convoy AConvoys[Convoy][TrailerModel] = GetVehicleModel(GetVehicleTrailer(GetPlayerVehicleID(LeaderID))); // First check if all players have the correct trailer (except for the leader) for (new i = 1; i < CONVOY_MAX_MEMBERS; i++) { MemberID = AConvoys[Convoy][Members]; // Get the member-id from this member-spot if (MemberID != -1) // Check if the member-id is a valid playerid { // Check if the player has the same trailer-model attached to his vehicle as the convoy requires if (GetVehicleModel(GetVehicleTrailer(GetPlayerVehicleID(MemberID))) != AConvoys[Convoy][TrailerModel]) { // Inform the player that he hasn\'t got the correct trailer switch (AConvoys[Convoy][TrailerModel]) { case VehicleTrailerCargo, VehicleTrailerCargo2: TextDrawSetString(APlayerData[MemberID][MissionText], \"{0059ff}Szükséged van Cargo pótkocsira.\"); case VehicleTrailerOre: TextDrawSetString(APlayerData[MemberID][MissionText], \"{0059ff}Szükséged van Ore pótkocsira.\"); case VehicleTrailerFluids: TextDrawSetString(APlayerData[MemberID][MissionText], \"{0059ff}Szükséged van Tartályos poótkocsira.\"); } // Not everyone has the same trailer AllSameTrailer = false; } } } else // Leader has no trailer attached, so check for the vehiclemodel //erre ír errort de nem találom benne a hibát { // First check if all players have the correct trailer (except for the leader) for (new i = 1; i < CONVOY_MAX_MEMBERS; i++) { MemberID = AConvoys[Convoy][Members]; // Get the member-id from this member-spot if (MemberID != -1) // Check if the member-id is a valid playerid { // Get the vehiclemodel of the member new vModel = GetVehicleModel(GetPlayerVehicleID(MemberID)); // Check if the member has a valid trucking vehicle (flatbed or DFT30) switch (vModel) { case VehicleFlatbed, VehicleDFT30, VehicleCementTruck, VehicleBenson, VehicleYankee: AllSameTrailer = true; default: { TextDrawSetString(APlayerData[MemberID][MissionText], \"~w~Neked nincs megfelelõ ~r~jármûved így nem indúlhat a convoy\"); AllSameTrailer = false; } } } } }
D:\\modom\\pawno\\include\\PPC_Convoys.inc(352) : error 029: invalid expression, assumed zeroPawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 1 Error.
modom.pwn(276) : error 017: undefined symbol \"PlayerInfo\"modom.pwn(276) : warning 215: expression has no effectmodom.pwn(276) : error 001: expected token: \";\", but found \"]\"modom.pwn(276) : error 029: invalid expression, assumed zeromodom.pwn(276) : fatal error 107: too many error messages on one line
new String[50]; format(String, sizeof String, \"Russian Kills: %d\\r\\nAmerica 0 Kills: %d\", RussiaKills, AmericaKills); TextDrawDestroy(TextDrawScore); TextDrawScore = TextDrawCreate(640.0, 437.0, String); TextDrawUseBox(TextDrawScore, 1); TextDrawFont(TextDrawScore, 3); TextDrawSetShadow(TextDrawScore, 0); TextDrawSetOutline(TextDrawScore, 1); TextDrawBackgroundColor(TextDrawScore, 0x000000FF); TextDrawColor(TextDrawScore, 0xFFFFFFFF); TextDrawAlignment(TextDrawScore, 3); TextDrawShowForAll(TextDrawScore); return 1;
public OnPlayerSpawn() { //Ide a textdrawot. return 1;}
D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(632) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(633) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(634) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(635) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(636) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(637) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(638) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(639) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(640) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(641) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(642) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(643) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(644) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(645) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(646) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(647) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(648) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(649) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(650) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(651) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(652) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(653) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(654) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(655) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(656) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(657) : error 017: undefined symbol \"CreateDynamicObjectEx\"Compilation aborted.Pawn compiler 3.2.3664 Copyright (coffee) 1997-2006, ITB CompuPhase 26 Errors.
Sziasztok!Nekem ezt írja a pawno mikor mentem a módot D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(632) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(633) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(634) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(635) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(636) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(637) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(638) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(639) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(640) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(641) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(642) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(643) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(644) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(645) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(646) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(647) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(648) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(649) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(650) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(651) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(652) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(653) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(654) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(655) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(656) : error 017: undefined symbol \"CreateDynamicObjectEx\"D:\\kicsomagolás\\server1\\gamemodes\\PPFS.pwn(657) : error 017: undefined symbol \"CreateDynamicObjectEx\"Compilation aborted.Pawn compiler 3.2.3664 Copyright (coffee) 1997-2006, ITB CompuPhase 26 Errors.
# include <streamer># include <a_samp>
public OnPlayerUpdate(playerid){new Float:x, Float:y, Float:z;GetPlayerPos(playerid,x,y,z);if(1282.9401 <= y <= 1442.9170 || 1941.3424 <= x <= 2031.9501){ SendClientMessage(playerid,0x00FF00FF,\"Beléptél a Spawn területre!\"); SetPlayerHealth(playerid,98713); SendClientMessage(playerid,0x00FFB8FF,\"Mostmár örök életed van!\"); return 0;}else if{ SendClientMessage(playerid,0x0000FFFF,\"Kiléptél a Spawn területrõl!\"); SetPlayerHealth(playerid,100); SendClientMessage(playerid,0x0000FFFF,\"Mostmár nincs örök életed!\"); return 0;}return 1;}