Jump to content

Nobru

Membru
  • Posts

    9
  • Joined

  • Last visited

    Never

Everything posted by Nobru

  1. Nobru

    Cautare script

    C:\Documents and Settings\x\Desktop\event.txt(4) : error 017: undefined symbol "cmd" C:\Documents and Settings\x\Desktop\event.txt(13) : warning 217: loose indentation C:\Documents and Settings\x\Desktop\event.txt(13) : error 017: undefined symbol "strtok" C:\Documents and Settings\x\Desktop\event.txt(13) : error 033: array must be indexed (variable "x_nr") C:\Documents and Settings\x\Desktop\event.txt(16) : error 017: undefined symbol "COLOR_WHITE" C:\Documents and Settings\x\Desktop\event.txt(19) : warning 217: loose indentation C:\Documents and Settings\x\Desktop\event.txt(21) : warning 219: local variable "i" shadows a variable at a preceding level C:\Documents and Settings\x\Desktop\event.txt(23) : error 017: undefined symbol "ProxDetectorS" C:\Documents and Settings\x\Desktop\event.txt(28) : warning 217: loose indentation C:\Documents and Settings\x\Desktop\event.txt(28) : error 017: undefined symbol "tmp" C:\Documents and Settings\x\Desktop\event.txt(28) : error 017: undefined symbol "strtok" C:\Documents and Settings\x\Desktop\event.txt(29) : warning 217: loose indentation C:\Documents and Settings\x\Desktop\event.txt(29) : error 017: undefined symbol "tmp" C:\Documents and Settings\x\Desktop\event.txt(30) : error 017: undefined symbol "tmp" C:\Documents and Settings\x\Desktop\event.txt(32) : error 017: undefined symbol "COLOR_SYSTEM" C:\Documents and Settings\x\Desktop\event.txt(35) : error 017: undefined symbol "sendername" C:\Documents and Settings\x\Desktop\event.txt(35) : error 017: undefined symbol "sendername" C:\Documents and Settings\xDesktop\event.txt(35) : error 029: invalid expression, assumed zero C:\Documents and Settings\x\Desktop\event.txt(35) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 14 Errors. Cred ca sparg ceva pana la urma
  2. Nobru

    Cautare script

    C:\Documents and Settings\x\Desktop\even.txt(1) : warning 235: public function lacks forward declaration (symbol "OnPlayerCommandText") C:\Documents and Settings\x\Desktop\even.txt(3) : error 017: undefined symbol "strcmp" C:\Documents and Settings\x\Desktop\even.txt(5) : error 017: undefined symbol "MAX_PLAYERS" C:\Documents and Settings\x\Desktop\even.txt(7) : error 017: undefined symbol "IsPlayerConnected" C:\Documents and Settings\x\Desktop\even.txt(9) : error 017: undefined symbol "PlayerInfo" C:\Documents and Settings\x\Desktop\even.txt(9) : warning 215: expression has no effect C:\Documents and Settings\x\Desktop\even.txt(9) : error 001: expected token: ";", but found "]" C:\Documents and Settings\x\Desktop\even.txt(9) : error 029: invalid expression, assumed zero C:\Documents and Settings\x\Desktop\even.txt(9) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 7 Errors. Mersi ca incerci sa ma ajuti , e adevarat ca nu stiu script si ca sunt noob , dar usor usor invat Ai idee de ce da erorile astea ?
  3. Nobru

    Cautare script

    Am postat erorile Chiar nimeni nu stie ce are ?
  4. Nobru

    Cautare script

    C:\Documents and Settings\x\Desktop\asdfgh.pwn(1) : error 010: invalid function or declaration C:\Documents and Settings\x\Desktop\asdfgh.pwn(3) : error 010: invalid function or declaration C:\Documents and Settings\x\Desktop\asdfgh.pwn(5) : error 010: invalid function or declaration C:\Documents and Settings\x\Desktop\asdfgh.pwn(7) : error 010: invalid function or declaration C:\Documents and Settings\x\Desktop\asdfgh.pwn(10) : error 010: invalid function or declaration C:\Documents and Settings\x\Desktop\asdfgh.pwn(11) : error 010: invalid function or declaration C:\Documents and Settings\x\Desktop\asdfgh.pwn(14) : error 010: invalid function or declaration C:\Documents and Settings\x\Desktop\asdfgh.pwn(16) : error 010: invalid function or declaration C:\Documents and Settings\x\Desktop\asdfgh.pwn(18) : error 010: invalid function or declaration C:\Documents and Settings\x\Desktop\asdfgh.pwn(20) : error 010: invalid function or declaration C:\Documents and Settings\x\Desktop\asdfgh.pwn(22) : error 010: invalid function or declaration C:\Documents and Settings\x\Desktop\asdfgh.pwn(25) : error 010: invalid function or declaration C:\Documents and Settings\x\Desktop\asdfgh.pwn(27) : error 010: invalid function or declaration C:\Documents and Settings\x\Desktop\asdfgh.pwn(30) : error 010: invalid function or declaration C:\Documents and Settings\x\Desktop\asdfgh.pwn(32) : error 010: invalid function or declaration C:\Documents and Settings\x\Desktop\asdfgh.pwn(32) : error 010: invalid function or declaration C:\Documents and Settings\x\Desktop\asdfgh.pwn(32 -- 34) : error 010: invalid function or declaration C:\Documents and Settings\x\Desktop\asdfgh.pwn(32 -- 34) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 18 Errors.
  5. Nobru

    Cautare script

    Da cam asa ceva Uite am gasit cam ce vreau , dar da eroare la compilare , nu stiu de ce :| if(strcmp(cmd, "/event", true) == 0) { for(new i=0; i<MAX_PLAYERS; i++) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pAdmin] >= 4) { new x_nr[256]; x_nr = strtok(cmdtext, idx); if(!strlen(x_nr)) { SendClientMessage(playerid, COLOR_WHITE, "USAGE: /event [heal,healall,gethere,giveweapon]"); return 1; } if(strcmp(x_nr,"heal",true) == 0) { for(new i; i < GetMaxPlayers(); i++) { if (ProxDetectorS(5.0, playerid, i)) { if(IsPlayerConnected(i)) { new amount; tmp = strtok(cmdtext, idx); amount = strval(tmp); if(!strlen(tmp)) { SendClientMessage(playerid,COLOR_SYSTEM,"USAGE: /event heal [hp]"); return 1; } GetPlayerName(playerid, sendername, sizeof(sendername)); SetPlayerHealth(i, amount); format(string, sizeof(string), "[EVENT]: %s has setted everyones near him health at %d.",sendername,amount); SendClientMessageToAll(COLOR_LIGHTRED, string); return 1; } } } } } if(strcmp(x_nr,"healall",true) == 0) { for(new i; i < GetMaxPlayers(); i++) { if(IsPlayerConnected(i)) { new amount; tmp = strtok(cmdtext, idx); amount = strval(tmp); if(!strlen(tmp)) { SendClientMessage(playerid,COLOR_SYSTEM,"USAGE: /event healall [hp]"); return 1; } GetPlayerName(playerid, sendername, sizeof(sendername)); SetPlayerHealth(i, amount); format(string, sizeof(string), "[EVENT]: %s has setted everyones health at %d.",sendername,amount); SendClientMessageToAll(COLOR_LIGHTRED, string); return 1; } } } if(strcmp(x_nr,"gethere",true) == 0) { for(new i; i < GetMaxPlayers(); i++) { if(IsPlayerConnected(i)) { new Float:X, Float:Y, Float:Z; GetPlayerPos(playerid, X,Y,Z); GetPlayerName(playerid, sendername, sizeof(sendername)); if(GetPlayerState(i) == 2) { SetPlayerPos(i, X,Y+4,Z); } else { SetPlayerPos(i, X,Y+2,Z); } format(string, sizeof(string), "[EVENT]: %s had telported %d players at him.",sendername,PlayersOnline); SendClientMessageToAll(COLOR_LIGHTRED, string); return 1; } } } if(strcmp(x_nr,"givegun",true) == 0) { for(new i; i < GetMaxPlayers(); i++) { if(IsPlayerConnected(i)) { new gun,ammo; tmp = strtok(cmdtext, idx); gun = strval(tmp); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GREY, "USAGE: /event givegun [gunid] [ammo]"); SendClientMessage(playerid, COLOR_GRAD1, "Melee I: Golf Club (2) | Nitestick (3) | Knife (4) | Baseball Bat (5)"); SendClientMessage(playerid, COLOR_GRAD1, "Melee I: Shovel (6) | Pool Cue (7) | Katana (8) | Chainsaw (9)"); SendClientMessage(playerid, COLOR_GRAD2, "Melee II: Purple Dildo (10) | Small White Vibrator (11) | Large White Vibrator (12)"); SendClientMessage(playerid, COLOR_GRAD2, "Melee II: Silver Vibrator (13) | Flowers (14) | Cane (15)"); SendClientMessage(playerid, COLOR_GRAD3, "Pistol: 9MM (22) | Sillenced 9MM (23) | Deagle (24)"); SendClientMessage(playerid, COLOR_GRAD4, "Shotgun: Shotgun (25)"); SendClientMessage(playerid, COLOR_GRAD5, "SMG: MP5 (29)"); SendClientMessage(playerid, COLOR_GRAD6, "Assault: AK-47 (30) | M4 (31)"); SendClientMessage(playerid, COLOR_WHITE, "Rifle: Country Rifle (33) | Sniper Rifle (34)"); return 1; } if(gun == 1 || gun >= 16 && gun <= 21 || gun == 26 || gun == 27 || gun == 28 || gun == 32 || gun >= 35 && gun <= 46) { SendClientMessage(playerid, COLOR_WHITE, "The WeaponID is wrong !"); return 1; } tmp = strtok(cmdtext, idx); ammo = strval(tmp); if(ammo <1 ||ammo > 999) { SendClientMessage(playerid, COLOR_GRAD1, "dont go below 1 or above 999 bullets!"); return 1; } new ftext[50]; if(gun == 1) { ftext = "Brass Knuckles"; } else if(gun == 2) { ftext = "Golf Club"; } else if(gun == 3) { ftext = "NightStick"; } else if(gun == 4) { ftext = "Knife"; } else if(gun == 5) { ftext = "Baseball Bat"; } else if(gun == 6) { ftext = "Shovel"; } else if(gun == 7) { ftext = "Pool Cue"; } else if(gun == 8) { ftext = "Katana"; } else if(gun == 9) { ftext = "Chainsaw"; } else if(gun == 10) { ftext = "Purple Dildo"; } else if(gun == 11) { ftext = "Small White Vibrator"; } else if(gun == 12) { ftext = "Large White Vibrator"; } else if(gun == 13) { ftext = "Silver Vibrator"; } else if(gun == 14) { ftext = "Flowers"; } else if(gun == 15) { ftext = "Cane"; } else if(gun == 16) { ftext = "Grenade"; } else if(gun == 17) { ftext = "Tear Gas"; } else if(gun == 18) { ftext = "Molotov Cocktail"; } else if(gun == 22) { ftext = "9MM"; } else if(gun == 23) { ftext = "Silenced 9mm"; } else if(gun == 24) { ftext = "Desert Eagle"; } else if(gun == 25) { ftext = "Shotgun"; } else if(gun == 26) { ftext = "Sawn-off Shotgun"; } else if(gun == 27) { ftext = "Combat Shotgun"; } else if(gun == 28) { ftext = "Micro SMG"; } else if(gun == 29) { ftext = "MP5"; } else if(gun == 30) { ftext = "AK-47"; } else if(gun == 31) { ftext = "M4"; } else if(gun == 32) { ftext = "Tec9"; } else if(gun == 33) { ftext = "Country Rifle"; } else if(gun == 34) { ftext = "Sniper Rifle"; } else if(gun == 35) { ftext = "Rocket Launcher"; } else if(gun == 36) { ftext = "HS Rocket Launcher"; } else if(gun == 37) { ftext = "Flamethrower"; } else if(gun == 38) { ftext = "Minigun"; } else if(gun == 41) { ftext = "Spraycan"; } else if(gun == 42) { ftext = "Fire Extinguisher"; } else if(gun == 43) { ftext = "Camera"; } else if(gun == 44) { ftext = "Nightvision Goggle"; } else if(gun == 45) { ftext = "Thermal Goggles"; } else if(gun == 46) { ftext = "Parachutte"; } GetPlayerName(playerid, sendername, sizeof(sendername)); GivePlayerWeapon(i, gun, ammo); format(string, sizeof(string), "[EVENT]: %s has given a %s with %d ammo.",sendername,ftext,ammo); SendClientMessageToAll(COLOR_LIGHTRED, string); return 1; } } } } } return 1; } Poate reuseste careva sa il compileze pt 0.3b ?
  6. Nobru

    Cautare script

    n`ai prins ideea am comenzile astea , dar e una care le contine pe toate ca si pe linkmania , cum e asta de aici , dar asta da eroare la compilare : http://forum.sa-mp.com/showthread.php?t=152760&highlight=%2Fevent+healall Acum ati inteles la ce ma refer ? nu le vreau pe toate separat....
  7. Nobru

    Cautare script

    nu la asta m-am referit e o comanda pentru admini level 3+ de exemplu , iar la eventuri au comanda /event healall de exemplu , si toti care sunt in zona de langa admin primesc heal , sau /event heal hp , la fel toti din raza primesc hp , /event giveweapon id gloante si le da la toti din zona arma apare si un text in chat de genul : "Admin x has gived you a weapon with xxx bullets" , depinde de comanda sper ca ai prins ce caut
  8. Salut.Caut demult scriptul de la comanda "/event heal,healall,gethere,giveweapon etc." Mi-l poate da cineva va rog ?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.