Jump to content

Baboi

Membru
  • Posts

    5
  • Joined

  • Last visited

    Never

Baboi's Achievements

Rookie

Rookie (2/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. merci scandal asta a fost :)
  2. C:\Users\koko\Desktop\SERVER 0.3x\gamemodes\GodplaY.pwn(29935) : error 029: invalid expression, assumed zero C:\Users\koko\Desktop\SERVER 0.3x\gamemodes\GodplaY.pwn(29935) : warning 215: expression has no effect C:\Users\koko\Desktop\SERVER 0.3x\gamemodes\GodplaY.pwn(29935) : error 001: expected token: ";", but found ")" C:\Users\koko\Desktop\SERVER 0.3x\gamemodes\GodplaY.pwn(29935) : error 029: invalid expression, assumed zero C:\Users\koko\Desktop\SERVER 0.3x\gamemodes\GodplaY.pwn(29935) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 4 Errors. if (PlayerInfo[playerid][pAdmin] >= 3) || PlayerInfo[playerid][pHelper] >= 3) Asta e linia :D
  3. Baboi

    Problema!

    cand dau sa compliez apare: [pawn]C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(40) : warning 201: redefinition of constant/macro (symbol "MAX_STRING") C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(6772) : warning 219: local variable "oldposx" shadows a variable at a preceding level C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(6772) : warning 219: local variable "oldposy" shadows a variable at a preceding level C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(6772) : warning 219: local variable "oldposz" shadows a variable at a preceding level C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(7110) : warning 219: local variable "X" shadows a variable at a preceding level C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(7110) : warning 219: local variable "Y" shadows a variable at a preceding level C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(7110) : warning 219: local variable "Z" shadows a variable at a preceding level C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(7111) : error 035: argument type mismatch (argument 2) C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(7112) : warning 213: tag mismatch C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(7112) : warning 213: tag mismatch C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(7112) : warning 213: tag mismatch C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(7112) : warning 213: tag mismatch C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(7113) : warning 213: tag mismatch C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(7113) : warning 213: tag mismatch C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(7113) : warning 213: tag mismatch C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(7110) : warning 203: symbol is never used: "Z" C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(7110) : warning 203: symbol is never used: "Y" C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(7110) : warning 203: symbol is never used: "X" C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(7670) : warning 219: local variable "X" shadows a variable at a preceding level C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(7670) : warning 219: local variable "Y" shadows a variable at a preceding level C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(7670) : warning 219: local variable "Z" shadows a variable at a preceding level C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(7671) : error 035: argument type mismatch (argument 2) C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(7672) : warning 213: tag mismatch C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(7672) : warning 213: tag mismatch C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(7672) : warning 213: tag mismatch C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(7670) : warning 203: symbol is never used: "Z" C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(7670) : warning 203: symbol is never used: "Y" C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(7670) : warning 203: symbol is never used: "X" C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(7670 -- 7682) : warning 219: local variable "X" shadows a variable at a preceding level C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(7670 -- 7682) : warning 219: local variable "Y" shadows a variable at a preceding level C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(7670 -- 7682) : warning 219: local variable "Z" shadows a variable at a preceding level C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(7683) : error 035: argument type mismatch (argument 2) C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(7684) : warning 213: tag mismatch C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(7684) : warning 213: tag mismatch C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(7684) : warning 213: tag mismatch C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(7682) : warning 203: symbol is never used: "Z" C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(7682) : warning 203: symbol is never used: "Y" C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(7682) : warning 203: symbol is never used: "X" C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(9822) : error 017: undefined symbol "CreateDynamicPickup" C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(9823) : error 017: undefined symbol "CreateDynamicPickup" C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(9824) : error 017: undefined symbol "CreateDynamicPickup" C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(9825) : error 017: undefined symbol "CreateDynamicPickup" C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(9826) : error 017: undefined symbol "CreateDynamicPickup" C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(9827) : error 017: undefined symbol "CreateDynamicPickup" C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(9828) : error 017: undefined symbol "CreateDynamicPickup" C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(9829) : error 017: undefined symbol "CreateDynamicPickup" C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(9830) : error 017: undefined symbol "CreateDynamicPickup" C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(9831) : error 017: undefined symbol "CreateDynamicPickup" C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(9832) : error 017: undefined symbol "CreateDynamicPickup" C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(9833) : error 017: undefined symbol "CreateDynamicPickup" C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(9834) : error 017: undefined symbol "CreateDynamicPickup" C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(9835) : error 017: undefined symbol "CreateDynamicPickup" C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(9836) : error 017: undefined symbol "CreateDynamicPickup" C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(9837) : error 017: undefined symbol "CreateDynamicPickup" C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(9838) : error 017: undefined symbol "CreateDynamicPickup" C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(9839) : error 017: undefined symbol "CreateDynamicPickup" C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(9840) : error 017: undefined symbol "CreateDynamicPickup" C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(9841) : error 017: undefined symbol "CreateDynamicPickup" C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(9842) : error 017: undefined symbol "CreateDynamicPickup" C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(9844) : error 017: undefined symbol "CreateDynamicPickup" C:\Documents and Settings\KoKo\Desktop\Zonek\gamemodes\Zonek.pwn(9845) : error 017: undefined symbol "CreateDynamicPickup" Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.[/pawn] ce sa fac ? :shocked: :huh:
  4. [pawn]IsNumeric(const string) { for (new i = 0, j = strlen(string); i < j; i++) { if (string > '9' || string < '0') return 0; } return 1; } ReturnUser(text[], playerid = INVALID_PLAYER_ID) { new pos = 0; while (text[pos] < 0x21) // Strip out leading spaces { if (text[pos] == 0) return INVALID_PLAYER_ID; // No passed text pos++; } new userid = INVALID_PLAYER_ID; if (IsNumeric(text[pos])) // Check whole passed string { // If they have a numeric name you have a problem (although names are checked on id failure) userid = strval(text[pos]); if (userid >=0 && userid < MAX_PLAYERS) { if(!IsPlayerConnected(userid)) { /*if (playerid != INVALID_PLAYER_ID) { SendClientMessage(playerid, 0xFF0000AA, "User not connected"); }*/ userid = INVALID_PLAYER_ID; } else { return userid; // A player was found } } /*else { if (playerid != INVALID_PLAYER_ID) { SendClientMessage(playerid, 0xFF0000AA, "Invalid user ID"); } userid = INVALID_PLAYER_ID; } return userid;*/ // Removed for fallthrough code } // They entered [part of] a name or the id search failed (check names just incase) new len = strlen(text[pos]); new count = 0; new name[MAX_PLAYER_NAME]; for (new i = 0; i < MAX_PLAYERS; i++) { if (IsPlayerConnected(i)) { GetPlayerName(i, name, sizeof (name)); if (strcmp(name, text[pos], true, len) == 0) // Check segment of name { if (len == strlen(name)) // Exact match { return i; // Return the exact player on an exact match // Otherwise if there are two players: // Me and MeYou any time you entered Me it would find both // And never be able to return just Me's id } else // Partial match { count++; userid = i; } } } } if (count != 1) { if (playerid != INVALID_PLAYER_ID) { if (count) { SendClientMessage(playerid, 0xFF0000AA, "Multiple users found, please narrow earch"); } else { SendClientMessage(playerid, 0xFF0000AA, "No matching user found"); } } userid = INVALID_PLAYER_ID; } return userid; // INVALID_USER_ID for bad return } [/pawn] Asta e tot utilsul la asta imi da eroare
  5. [pawn]C:\Documents and Settings\KoKo\Desktop\Zonek\pawno\include\utils.inc(1) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\KoKo\Desktop\Zonek\pawno\include\utils.inc(3) : error 035: argument type mismatch (argument 1) C:\Documents and Settings\KoKo\Desktop\Zonek\pawno\include\utils.inc(5) : error 028: invalid subscript (not an array or too many subscripts): "string" C:\Documents and Settings\KoKo\Desktop\Zonek\pawno\include\utils.inc(5) : warning 215: expression has no effect C:\Documents and Settings\KoKo\Desktop\Zonek\pawno\include\utils.inc(5) : error 001: expected token: ";", but found "]" C:\Documents and Settings\KoKo\Desktop\Zonek\pawno\include\utils.inc(5) : error 029: invalid expression, assumed zero C:\Documents and Settings\KoKo\Desktop\Zonek\pawno\include\utils.inc(5) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors.[/pawn] deci imi da asta :| ce trebuie sa fac?
×
×
  • 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.