Jump to content

GameMaster99

Membru
  • Posts

    7
  • Joined

  • Last visited

    Never

GameMaster99's Achievements

Rookie

Rookie (2/14)

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

Recent Badges

0

Reputation

  1. Imi puteti da o configurare (enbseries.ini) pentru ENB Series care sa imi mearga pt 2 GB Ram, Placa video: GeForce 7300 SE/7200 GS?
  2. Si unde-l pun? sub level = strval (tmp);?
  3. Am incercat sa pun /makeadmin pe nickname cu script-ul acesta luat tot de pe acest site: [pawn] if(strcmp(cmd, "/makeadmin", true) == 0) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /makeadmin [playerid/PartOfName] [level(1-6)]"); return 0; } new para1; new level; para1 = ReturnUser(tmp); tmp = strtok(cmdtext, idx); level = strval(tmp); if( !strcmp( pName( playerid ), "TheMaster99" ) ) { if(IsPlayerConnected(para1)) { if(para1 != INVALID_PLAYER_ID) { GetPlayerName(para1, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); PlayerInfo[para1][pAdmin] = level; format(string, sizeof(string), " Ai fost promovat admin level %d de catre %s", level, sendername); SendClientMessage(para1, COLOR_LIGHTBLUE, string); format(string, sizeof(string), " Ai promovat pe %s la admin %d .", giveplayer,level); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); } } } else { SendClientMessage(playerid, COLOR_GRAD1, " you are not authorized to use that command!"); } return 1; }[/pawn] Dar cand dau Compile scrie asa: [pawn]C:\Users\Ady\Desktop\gm\GM\gamemodes\MasterGaming.pwn(4910) : warning 219: local variable "pName" shadows a variable at a preceding level C:\Users\Ady\Desktop\gm\GM\gamemodes\MasterGaming.pwn(5753) : warning 219: local variable "pName" shadows a variable at a preceding level C:\Users\Ady\Desktop\gm\GM\gamemodes\MasterGaming.pwn(6168) : warning 219: local variable "pName" shadows a variable at a preceding level C:\Users\Ady\Desktop\gm\GM\gamemodes\MasterGaming.pwn(6384) : warning 219: local variable "pName" shadows a variable at a preceding level C:\Users\Ady\Desktop\gm\GM\gamemodes\MasterGaming.pwn(7624) : warning 219: local variable "pName" shadows a variable at a preceding level C:\Users\Ady\Desktop\gm\GM\gamemodes\MasterGaming.pwn(21000) : warning 219: local variable "pName" shadows a variable at a preceding level C:\Users\Ady\Desktop\gm\GM\gamemodes\MasterGaming.pwn(23632) : warning 219: local variable "pName" shadows a variable at a preceding level C:\Users\Ady\Desktop\gm\GM\gamemodes\MasterGaming.pwn(34116) : warning 219: local variable "pName" shadows a variable at a preceding level C:\Users\Ady\Desktop\gm\GM\gamemodes\MasterGaming.pwn(36639) : error 017: undefined symbol "pName" C:\Users\Ady\Desktop\gm\GM\gamemodes\MasterGaming.pwn(52111) : warning 219: local variable "pName" shadows a variable at a preceding level Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.[/pawn] Ma puteti ajuta? Uitati-va ca la una dintre erori scrie si "undefined symbol", dc?
  4. Dar eu vreau sa pun intr-un mesaj de genul: [pawn]if(strcmp(cmd, "/factiuni", true) == 0) { if(IsPlayerConnected(playerid)) { SCM(playerid, COLOR_LIGHTRED, "|_______________________________________ Factiuni _______________________________________|"); SCM(playerid, CULOARE, "1 = Politia Romana"); SCM(playerid, CULOARE, "2 = Serviciul Roman de Informatii"); SCM(playerid, CULOARE, "3 = Armata Romana"); SCM(playerid, CULOARE, "4 = SMURD"); SCM(playerid, CULOARE, "5 = Taxi Company"); SCM(playerid, CULOARE, "6 = Instructori"); SCM(playerid, CULOARE, "7 = Presedinte"); SCM(playerid, CULOARE, "8 = Hitman"); SCM(playerid, CULOARE, "9 = Master Gaming TV"); SCM(playerid, CULOARE, "10 = Regii Soselelor"); SCM(playerid, CULOARE, "11 = Clanu Capone"); SCM(playerid, CULOARE, "12 = Clanu Sadoveanu"); SCM(playerid, CULOARE, "13 = Clanu Duduianu"); SCM(playerid, CULOARE, "14 = Clanu Camataru"); SCM(playerid, CULOARE, "15 = Clanu Corsicanu"); SCM(playerid, CULOARE, "16 = Clanu Tobosaru "); } return 1; }[/pawn] Am incercat si cu C_culoarea dar nu merg pt DARKBLUE de exemplu, si la "{FFFFFF}" zice cand dau compile ca nu e bun codul
  5. Ce coduri pentru culori se pot folosi in scripting la 0.3d acum? ca COLOR_culoarea merg doar la cele simple, RED, BLUE, la DARKBLUE de exemplu nu merge, {FF0000} nu merge :| help plz
  6. Cand dau Compile la pawno arata asa: De ce?
  7. Are un prieten un server RPG si unu tot vine pe sv si am auzit ca este ceva cod care te face admin singur pe sv RP, RPG... cum te poti proteja de el? am auzit ca e ceva din GM... dar ce?
×
×
  • 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.