public NearSayOOC(playerid,string[],Float:X,Float:Y,Float:Z,Float:radi){ for(new i=0;i<MAX_PLAYERS;i++) { if(IsPlayerInRangeOfPoint(i,radi,X,Y,Z)) { new text[256],name[256],log[256]; date GetPlayerName(playerid, name, sizeof(name)); format(text, sizeof(text), \"{999999}(( OOC Chat %s: %s ))\", name,string); format(log,sizeof(log),\"[%d.%d.%d %d:%d:%d]%s ezt írta OOC Chatbe: %s.\",y,mo,d,h,m,s,name,string); SendClientMessage(i,COLOR_RED, text); Log(log); } } return 1;}
Segitene valaki?C:\\Users\\Martin\\Desktop\\snow8.pwn(14) : warning 202: number of arguments does not match definitionC:\\Users\\Martin\\Desktop\\snow8.pwn(16) : error 017: undefined symbol \"SetDynamicObjectMaterial\"Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase1 Error.
C:\\Users\\Isti\\Desktop\\NewWordRPG\\pawno\\include\\zcmd.inc(92) : warning 217: loose indentation C:\\Users\\Isti\\Desktop\\NewWordRPG\\pawno\\include\\zcmd.inc(99) : warning 217: loose indentation Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 2 Warnings. [/quote] Hello nekem ezzel lenne problémám,essetleg valami mod a javitására?
#pragma tabsize 0
CMD:fegyver(playerid, params[]){ if(munka[playerid] == 1); GivePlayerWeapon(playerid, 33, 300); GivePlayerWeapon(playerid, 29, 200); SendClientMessage(playerid,COLOR_LIGHTBLUE,\"{148FEB}[SZERVER]{B3AEAE}Sikeresen lekértél 2 fegyvert!\"); return 1;}
stock GiveXP(playerid, xp){XP[playerid]+=xp;new string[266];format(string,sizeof(string),\"Új tapasztalati szintet értél el! (%d)\",xp);if(XP[playerid] >= Szint[playerid] * SZINT_XP){ Szint[playerid]++; XP[playerid] -= Szint[playerid] * SZINT_XP; format(string,sizeof(string),\"Gratulálok!Szintet léptél! (%d)!\",Szint[playerid]); SendClientMessage(playerid,COLOR_CRIMSON,string);}}
error 001: expected token: \";\", but found \"stock\"
format(nev,sizeof(nev)\"Megöltél egy embert!(%s)\",Name[playerid]);
: error 017: undefined symbol \"nev\" : error 017: undefined symbol \"nev\" : warning 215: expression has no effect : error 017: undefined symbol \"Name\" : fatal error 107: too many error messages on one lineCompilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 4 Errors.
public KocsiText(playerid){new S[256], Float: elet, vehicleid, uzemanyag[50], uzemanyagszint[50];new S2[256], S3[256];for(new player; player < MAX_PLAYERS; player++){ if( IsPlayerConnected(player)) { if(IsPlayerInAnyVehicle(player)) { vehicleid = GetPlayerVehicleID(player); GetVehicleHealth(vehicleid, elet); GetVehicleHealth(vehicleid, elet); if(elet < 300) return KocsiOff(vehicleid); switch(vInfo[vehicleid][UZEMANYAG]) { case 40: { uzemanyagszint = \"|||||\"; } case 32 .. 39: { uzemanyagszint = \"||||~r~|\"; } case 24 .. 31: { uzemanyagszint = \"|||~r~||\"; } case 16 .. 23: { uzemanyagszint = \"||~r~|||\"; } case 8 .. 15: { uzemanyagszint = \"|~r~||||\"; } case 0 .. 7: { uzemanyagszint = \"~r~|||||\"; } } switch(vInfo[vehicleid][UZEMANYAGTIPUS]) { case BENZIN: { uzemanyag = \"B\"; } case DIESEL: { uzemanyag = \"D\"; } } if(vInfo[vehicleid][UZEMANYAGTIPUS] > 0) { format(S, sizeof(S), \"%s\", uzemanyag); PlayerTextDrawSetString(Muszerfal[playerid][3], S); format(S2, sizeof(S2), \"%s\", uzemanyagszint); PlayerTextDrawSetString(Muszerfal[playerid][4], S2); format(S3, sizeof(S3), \"%d\", GetVehicleSpeed(vehicleid)); PlayerTextDrawSetString(Muszerfal[playerid][1], S3); } }}return 1;}
SocialTown.pwn(10655) : warning 213: tag mismatchSocialTown.pwn(10655) : error 035: argument type mismatch (argument 2)SocialTown.pwn(10658) : warning 213: tag mismatchSocialTown.pwn(10658) : error 035: argument type mismatch (argument 2)SocialTown.pwn(10661) : warning 213: tag mismatchSocialTown.pwn(10661) : error 035: argument type mismatch (argument 2)
format(S, sizeof(S), \"%s\", uzemanyag);PlayerTextDrawSetString(playerid, Muszerfal[playerid][3], S); format(S, sizeof(S), \"%s\", uzemanyagszint);PlayerTextDrawSetString(playerid, Muszerfal[playerid][4], S); format(S, sizeof(S), \"%d\", GetVehicleSpeed(vehicleid));PlayerTextDrawSetString(playerid, Muszerfal[playerid][1], S);