illegitimate
Membru-
Posts
11 -
Joined
-
Last visited
Never
About illegitimate
- Birthday 02/02/1998
illegitimate's Achievements
-
Am nevoie de o comanda /veh daca se poate,multumesc si pasii pe care trebuie sa ii parcurg ca sa implementez comanda.
-
Well,am sters /report fiindca vreau sa pun un system nou de report iar acum primesc urm. warning. C:\Users\Lil Z and Corricanne\Desktop\IcePlay Gamemodee\IcePlay\gamemodes\GOGF.pwn(34391) : warning 203: symbol is never used: "CallReport" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase Header size: 9464 bytes Code size: 1632032 bytes Data size: 5687360 bytes Stack/heap size: 16384 bytes; estimated max. usage=5350 cells (21400 bytes) Total requirements: 7345240 bytes 1 Warning.
-
error 010: invalid function or declaration [ problema]
illegitimate replied to illegitimate's question in Arhivă probleme
Rezolvat,multumesc frumos WazP si restul. -
error 010: invalid function or declaration [ problema]
illegitimate replied to illegitimate's question in Arhivă probleme
C:\Users\Lil Z and Corricanne\Desktop\IcePlay Gamemodee\IcePlay\gamemodes\GOGF.pwn(10433) : warning 219: local variable "mod" shadows a variable at a preceding level C:\Users\Lil Z and Corricanne\Desktop\IcePlay Gamemodee\IcePlay\gamemodes\GOGF.pwn(34456) : warning 217: loose indentation C:\Users\Lil Z and Corricanne\Desktop\IcePlay Gamemodee\IcePlay\gamemodes\GOGF.pwn(34478) : error 030: compound statement not closed at the end of file (started at line 33519) Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. -
error 010: invalid function or declaration [ problema]
illegitimate replied to illegitimate's question in Arhivă probleme
imd iti spun. #EDIT C:\Users\Lil Z and Corricanne\Desktop\IcePlay Gamemodee\IcePlay\gamemodes\GOGF.pwn(10433) : warning 219: local variable "mod" shadows a variable at a preceding level C:\Users\Lil Z and Corricanne\Desktop\IcePlay Gamemodee\IcePlay\gamemodes\GOGF.pwn(34477) : error 054: unmatched closing brace ("}") Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. [pawn]//===============================================================================================// if (newkeys==KEY_SECONDARY_ATTACK) { if(IsPlayerConnected(playerid)) { if (PlayerToPoint(2.0, playerid, 1329.1317,-1557.6345,13.5469)) { SetPlayerPos(playerid,-977.8568,1053.0228,1344.9913); SetPlayerInterior(playerid, 10); WantedWarZone[playerid] = 1; ResetPlayerWeapons(playerid); } if (PlayerToPoint(2.0, playerid, -977.8568,1053.0228,1344.9913)) { SetPlayerPos(playerid,1329.1317,-1557.6345,13.5469); SetPlayerInterior(playerid, 0); WantedWarZone[playerid] = 0; ResetPlayerWeapons(playerid); } } } } }[/pawn] -
error 010: invalid function or declaration [ problema]
illegitimate replied to illegitimate's question in Arhivă probleme
Le-am pus pe toate..nici una nu merge. -
error 010: invalid function or declaration [ problema]
illegitimate replied to illegitimate's question in Arhivă probleme
aia cu return false. -
error 010: invalid function or declaration [ problema]
illegitimate posted a question in Arhivă probleme
[pawn]//===============================================================================================// if (newkeys==KEY_SECONDARY_ATTACK) { if(IsPlayerConnected(playerid)) { if (PlayerToPoint(2.0, playerid, 1329.1317,-1557.6345,13.5469)) { SetPlayerPos(playerid,-977.8568,1053.0228,1344.9913); SetPlayerInterior(playerid, 10); WantedWarZone[playerid] = 1; ResetPlayerWeapons(playerid); } if (PlayerToPoint(2.0, playerid, -977.8568,1053.0228,1344.9913)) { SetPlayerPos(playerid,1329.1317,-1557.6345,13.5469); SetPlayerInterior(playerid, 0); WantedWarZone[playerid] = 0; ResetPlayerWeapons(playerid); } } } } return false; } //===============================================================================================// //===============================================================================================//[/pawn] C:\Users\Lil Z and Corricanne\Desktop\IcePlay Gamemodee\IcePlay\gamemodes\GOGF.pwn(34477) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. Ce sa fac? -
#EDIT am rezolvat.
-
[pawn]C:\Users\Lil Z and Corricanne\Desktop\filehost_Galaxy Omega\IcePlay\gamemodes\GOGF.pwn(10433) : warning 219: local variable "mod" shadows a variable at a preceding level C:\Users\Lil Z and Corricanne\Desktop\filehost_Galaxy Omega\IcePlay\gamemodes\GOGF.pwn(34476) : error 030: compound statement not closed at the end of file (started at line 33519) Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. [/pawn]
-
Salut,am si eu o problema...deci intru pe server si cand sa dau la inregistrare sa scriu Masculin , tot se creaza spatii libere...ca si cum ai face spam,nu se intampla nimic cand scriu Masculin sau Feminin,de la ce poate fi? [pawn]//============================================================================================================================================================= // = SetPlayerSpawn //============================================================================================================================================================= public SetPlayerSpawn(playerid) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pTut] == 0) { gOoc[playerid] = 1; gNews[playerid] = 1; gFam[playerid] = 1; TogglePlayerControllable(playerid, 0); RegistrationStep[playerid] = 1; SendClientMessage(playerid, COLOR_GREEN, ""); SendClientMessage(playerid, COLOR_GREEN, ""); SendClientMessage(playerid, COLOR_GREEN, ""); SendClientMessage(playerid, COLOR_GREEN, ""); SendClientMessage(playerid, COLOR_GREEN, ""); SendClientMessage(playerid, COLOR_GREEN, ""); SendClientMessage(playerid, COLOR_GREEN, ""); SendClientMessage(playerid, COLOR_GREEN, ""); SendClientMessage(playerid, COLOR_GREEN, ""); SendClientMessage(playerid, COLOR_GREEN, ""); SendClientMessage(playerid, COLOR_WHITE, "{30a030}[saveG]: {ffffff}Bine ai venit pe {ff0000}saveG.ro: RPG Server [0.3D] (BETA){ffffff}."); SendClientMessage(playerid, COLOR_GREEN, ""); SendClientMessage(playerid, COLOR_GREEN, "_____________________________________________"); SendClientMessage(playerid, COLOR_WHITE, "{30a030}[saveG]: {ffffff}Ce sex ai? [{ffd700}Masculin {ffffff}sau {ffd700}Feminin{ffffff}]?"); SendClientMessage(playerid, COLOR_GREEN, "_____________________________________________"); ApplyAnimation(playerid,"DANCING","DNCE_M_B",4.0,1,0,0,0,-1); } new rand; new house = PlayerInfo[playerid][pPhousekey]; if(PlayerPaintballing[playerid] != 0) { ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid, 29, 999); rand = random(sizeof(PaintballSpawns)); SetPlayerPos(playerid, PaintballSpawns[rand][0], PaintballSpawns[rand][1], PaintballSpawns[rand][2]); return 1; } if(PlayerInfo[playerid][pJailed] == 1) { ResetPlayerWeapons(playerid); SetPlayerWantedLevel(playerid, 0); WantedLevel[playerid] = 0; WantedPoints[playerid] = 0; SetPlayerInterior(playerid, 10); SetPlayerPos(playerid,218.9596,111.0268,999.0156); SendClientMessage(playerid, COLOR_WHITE, "{30a030}[saveG]: {ffffff}Sentinta incompleta, inapoi la Inchisoare."); return 1; } if(PlayerInfo[playerid][pJailed] == 2) { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid,268.5777,1857.9351,9.8133); SetPlayerWorldBounds(playerid, 337.5694,101.5826,1940.9759,1798.7453); ResetPlayerWeapons(playerid); return 1; } if(house !=255) { if(SpawnChange[playerid]) { SetPlayerToTeamColor(playerid); SetPlayerInterior(playerid,HouseInfo[house][hInt]); SetPlayerPos(playerid, HouseInfo[house][hExitx], HouseInfo[house][hExity],HouseInfo[house][hExitz]); PlayerInfo[playerid][pLocal] = house; PlayerInfo[playerid][pInt] = HouseInfo[house][hInt]; return 1; } }[/pawn] [pawn]//============================================================================================================================================================= // = OnPlayerText //============================================================================================================================================================= public OnPlayerText(playerid, text[]) { new giver[MAX_PLAYER_NAME]; new sendername[MAX_PLAYER_NAME]; new giveplayer[MAX_PLAYER_NAME]; new tmp[256]; new string[256]; new giveplayerid; if(PlayerInfo[playerid][pMuted] == 1) { SendClientMessage(playerid, TEAM_CYAN_COLOR, "{30a030}[icePlay]: {ffffff}Ne pare rau, dar ai Mute."); return 0; } if(FindIP(text)) /// Anti-Reclama { SendClientMessage(playerid, COLOR_RED, "{30a030}[icePlay]: {ff6347}Ai primit Kick de la IcePlay Guardian."); new advertiser[MAX_PLAYER_NAME]; GetPlayerName(playerid, advertiser, sizeof(advertiser)); format(string, sizeof(string), "{30a030}[icePlay]: {ff6347} %s a primit Kick de la IcePlay Guardian, Motiv: Server Advertising.",advertiser); SendClientMessageToAll(0xFF6347AA,string); KickLog(string); Kick(playerid); return 1; } if(RegistrationStep[playerid] > 0) { if(RegistrationStep[playerid] == 1) { new idx; tmp = strtok(text, idx); if((strcmp("masculin", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("Masculin"))) { GetPlayerName(playerid, sendername, sizeof(sendername)); PlayerInfo[playerid][pSex] = 1; RegistrationStep[playerid] = 2; SetPlayerSkin(playerid, 3); PlayerInfo[playerid][pChar] = 18; ClearChatbox(playerid, 10); SendClientMessage(playerid, COLOR_GREEN, "_____________________________________________"); format(string, sizeof(string), "» Ok %s, esti Barbat.", sendername); SendClientMessage(playerid, COLOR_WHITE, string); SendClientMessage(playerid, COLOR_1BLUE, "{30a030}[icePlay]: {ffffff}Ce varsta ai? [{ffd700}zz{ffffff}/{ffd700}ll{ffffff}/{ffd700}aa{ffffff}]?"); SendClientMessage(playerid, COLOR_GREEN, "_____________________________________________"); return 0; } else if((strcmp("feminin", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("Feminin"))) { GetPlayerName(playerid, sendername, sizeof(sendername)); PlayerInfo[playerid][pSex] = 2; RegistrationStep[playerid] = 2; SetPlayerSkin(playerid, 41); PlayerInfo[playerid][pChar] = 41; ClearChatbox(playerid, 10); ApplyAnimation(playerid,"DANCING","DNCE_M_B",4.0,1,0,0,0,-1); SendClientMessage(playerid, COLOR_GREEN, "_____________________________________________"); format(string, sizeof(string), "» Ok %s, esti Femeie.", sendername); SendClientMessage(playerid, COLOR_WHITE, string); SendClientMessage(playerid, COLOR_1BLUE, "{30a030}[icePlay]: {ffffff}Ce varsta ai? [{ffd700}zz{ffffff}/{ffd700}ll{ffffff}/{ffd700}aa{ffffff}]?"); SendClientMessage(playerid, COLOR_GREEN, "_____________________________________________"); return 0; } else { ClearChatbox(playerid, 10); ApplyAnimation(playerid,"DANCING","DNCE_M_B",4.0,1,0,0,0,-1); SendClientMessage(playerid, COLOR_GREEN, "_____________________________________________"); SendClientMessage(playerid, COLOR_1BLUE, "{30a030}[icePlay]: {ffffff}Ce sex ai? [{ffd700}Masculin {ffffff}sau {ffd700}Feminin{ffffff}]?"); SendClientMessage(playerid, COLOR_GREEN, "_____________________________________________"); } return 0; } else if(RegistrationStep[playerid] == 2) { new year, month,day; getdate(year, month, day); new DateInfo[3][20]; split(text, DateInfo, '/'); if(year - strvalEx(DateInfo[2]) > 100 || strvalEx(DateInfo[2]) < 1 || strvalEx(DateInfo[2]) >= year) { SendClientMessage(playerid, COLOR_GREEN, "_____________________________________________"); SendClientMessage(playerid, COLOR_1BLUE, "{30a030}[icePlay]: {ffffff}Ce varsta ai? [{ffd700}zz{ffffff}/{ffd700}ll{ffffff}/{ffd700}aa{ffffff}]?"); SendClientMessage(playerid, COLOR_GREEN, "_____________________________________________"); ApplyAnimation(playerid,"DANCING","DNCE_M_B",4.0,1,0,0,0,-1); return 0; } new check = year - strvalEx(DateInfo[2]); if(check == year) { SendClientMessage(playerid, COLOR_GREEN, "_____________________________________________"); SendClientMessage(playerid, COLOR_1BLUE, "{30a030}[icePlay]: {ffffff}Ce varsta ai? [{ffd700}zz{ffffff}/{ffd700}ll{ffffff}/{ffd700}aa{ffffff}]?"); SendClientMessage(playerid, COLOR_GREEN, "_____________________________________________"); ApplyAnimation(playerid,"DANCING","DNCE_M_B",4.0,1,0,0,0,-1); return 0; } if(strvalEx(DateInfo[1]) > month) { check -= 1; } else if(strvalEx(DateInfo[1]) == month && strvalEx(DateInfo[0]) > day) { check -= 1; } ClearChatbox(playerid, 10); PlayerInfo[playerid][pOrigin] = 1; PlayerInfo[playerid] = check; GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "» Ok %s, ai %d anii.", sendername, PlayerInfo[playerid] ); SendClientMessage(playerid, COLOR_WHITE, string); ApplyAnimation(playerid,"DANCING","DNCE_M_B",4.0,1,0,0,0,-1); TutTime[playerid] = 1; RegistrationStep[playerid] = 0; SendClientMessage(playerid, COLOR_1GREEN, "{30a030}[icePlay]: {ffffff}Acuma iti vom prezenta un Tutorial legat de Server."); return 0; } return 0; } [/pawn]