Jump to content

-=[Vyorel]=-

Administrator
  • Posts

    2.130
  • Joined

  • Last visited

  • Days Won

    99

Everything posted by -=[Vyorel]=-

  1. Fa si tu o vizita [iurl=http://www.sa-mp.ro/forum/index.php/topic,5356.0.html]aici[/iurl].
  2. Fa o vizita [iurl=http://www.sa-mp.ro/forum/index.php/topic,5356.0.html]aici[/iurl].
  3. Topic Locked. Motiv: Titlul Citeste [iurl=http://www.sa-mp.ro/forum/index.php/topic,2825.0.html]regulile[/iurl] privind titlul subiectelor (topicurilor) Intra [iurl=http://www.sa-mp.ro/forum/index.php/topic,6683.0.html]AICI[/iurl]. Foloseste functia [iurl=http://www.sa-mp.ro/forum/index.php?action=search]Search (Cauta)[/iurl] inainte de a posta Data viitoare primesti warn
  4. http://www.sa-mp.ro/forum/index.php/topic,4622.0.html
  5. Nu prea cred. Eu l-am compilat, fara sa modific ceva in el, si nu am primit erori.
  6. http://pawno.sa-mp.ro/pastebin.php?show=34 Ti l-am facut FS. Vezi daca functioneaza ca eu nu l-am testat.
  7. Interesant. Nu stiu ce va place voua la el dar in fine... Ma bucur ca va place!
  8. [iurl=http://www.sa-mp.ro/forum/index.php?action=search]Click[/iurl] Corect.
  9. Asta o puteai repara singur. Ori stergeai linile alea unde zice ca "cutarica" a fost scos din joc si ... Ori adaugai pe la inceput new playerName[MAX_PLAYERS]; sau new playerName[MAX_PLAYERS][24]; Vezi care merge.
  10. Ca de obicei... Titlul. http://www.sa-mp.ro/forum/index.php/topic,1700.0.html
  11. new string[128]; Adauga pe la inceputul scriptului.
  12. public SetupPlayerForClassSelection(playerid) { switch (gTeam[playerid]) { case TEAM_BLUE: { SetPlayerPos(playerid, player_x,player_y,player_z); SetPlayerFacingAngle(playerid, player_angle); SetPlayerCameraPos(playerid, camera_x,camera_y,camera_z); SetPlayerCameraLookAt(playerid, player_x,player_y,player_z); SetPlayerInterior(playerid, 0); ApplyAnimation(playerid,"DANCING","DNCE_M_B",4.0,1,0,0,0,-1); //smooth dancing. It's most fitting to the music PlayerPlaySound(playerid, 1097,-119.9460,23.1096,12.2238); //music, duh if (PlayerInfo[playerid][SpawnDance]) PlayerInfo[playerid][SpawnTimer] = SetTimerEx("MoveCamera", moving_speed, true, "i", playerid); PlayerInfo[playerid][SpawnDance] = false; } case TEAM_ADMIN: { SetPlayerPos(playerid, player_x,player_y,player_z); SetPlayerFacingAngle(playerid, player_angle); SetPlayerCameraPos(playerid, camera_x,camera_y,camera_z); SetPlayerCameraLookAt(playerid, player_x,player_y,player_z); SetPlayerInterior(playerid, 0); ApplyAnimation(playerid,"DANCING","DNCE_M_B",4.0,1,0,0,0,-1); //smooth dancing. It's most fitting to the music PlayerPlaySound(playerid, 1097,-119.9460,23.1096,12.2238); //music, duh if (PlayerInfo[playerid][SpawnDance]) PlayerInfo[playerid][SpawnTimer] = SetTimerEx("MoveCamera", moving_speed, true, "i", playerid); PlayerInfo[playerid][SpawnDance] = false; } default: { SetPlayerPos(playerid, player_x,player_y,player_z); SetPlayerFacingAngle(playerid, player_angle); SetPlayerCameraPos(playerid, camera_x,camera_y,camera_z); SetPlayerCameraLookAt(playerid, player_x,player_y,player_z); SetPlayerInterior(playerid, 0); ApplyAnimation(playerid,"DANCING","DNCE_M_B",4.0,1,0,0,0,-1); //smooth dancing. It's most fitting to the music PlayerPlaySound(playerid, 1097,-119.9460,23.1096,12.2238); //music, duh if (PlayerInfo[playerid][SpawnDance]) PlayerInfo[playerid][SpawnTimer] = SetTimerEx("MoveCamera", moving_speed, true, "i", playerid); PlayerInfo[playerid][SpawnDance] = false; } } return 1; } Vezi daca merge.
  13. Adauga pe la inceputul scriptului new SpamStrings[MAX_PLAYERS];
  14. Nu ai includele utils.inc in Pawno/Include.Descarca-l de aici si pune-l in Pawno/Include din serverul tau. Daca tot iti da eroarea inseamna ca ai mai multe programe Pawno (mai multe servere) in PC iar fisierele .pwn le deschizi cu unu din ele. Ca sa scapi de asta ai 2 solutii: Intri in folderul Pawno care crezi ca e bun si dai dublu click pe pawncc.exe apoi intri in fisierul .pwn Copii includele ala in toate serverele din PC (in Pawno/Include) apoi intri in fisierul .pwn si dai recompile. Succes.
  15. Asta e chiar culmea ) Click dreapta pe fisier, Rename si apoi ii schimbi numele
  16. http://www.sa-mp.ro/forum/index.php/topic,2211.0.html
  17. -=[Vyorel]=-

    Ajutor..

    Vad ca esti nou pe aici. Datoria ta este sa citesti [iurl=http://www.sa-mp.ro/forum/index.php/topic,2.0.html]Regulamentul General[/iurl] si [iurl=http://www.sa-mp.ro/forum/index.php/topic,2825.0.html]Regulamentul din sectiunea Scripting[/iurl]. Scrie titlul corect Posteaza in [iurl=http://www.sa-mp.ro/forum/index.php/topic,5356.0.html]Probleme Godfather[iurl]
  18. De la timerul ala iti setezi dupa cat timp vrei sa-l puna AFK.
  19. Ceva de genul asta Pe la inceputul scriptului adaugi asta: new playerActive[MAX_PLAYERS]; new playerTime[MAX_PLAYERS]; new playerIsPaused[MAX_PLAYERS]; new playerAFK[MAX_PLAYERS]; new playerUpdated[MAX_PLAYERS]; La sfarsitul scriptului pune asta: forward CheckAFK(); public CheckAFK() { for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(playerActive[i] == 1) { if(playerAFK[i] == 1) { if(playerUpdated[i] == 0) { format(string, sizeof(string), "%s a fost scos din joc deoarece a stat prea mult timp AFK.", playerName[i]); SendClientMessageToAll(COLOR_PINK, string); playerActive[i] = 0; playerTime[i] = 0; playerIsPaused[i] = 1; SetPlayerVirtualWorld(i, 1337); SetPlayerColor(i, COLOR_WHITE); DestroyVehicle(GetPlayerVehicleID(i)); TogglePlayerSpectating(i, 1); } else { playerAFK[i] = 0; } } else { if(playerUpdated[i] == 0) { playerAFK[i] = 1; } } playerUpdated[i] = 0; } } } } La OnGameModeInit adaugi asta SetTimer("CheckAFK", 2000, true);
  20. Cei asa de greu sa dai click dreapta pe scriptul tau si sa selectezi deschiderea lui cu Notepad++ ? Cu el verifici acoladele, dar nu si compilezi.
  21. Compileaza-l tu cu Pawno din 0.3c
  22. Uite-l AICI fara erori sau warning.
  23. -=[Vyorel]=-

    Ajutor

    Arata tot callback-ul unde le-ai pus.
  24. Ai mai multe servere in PC. Fisierele .pwn le deschizi cu un anumit Pawno, iar tu ai bagat includele ala in alt Pawno. Deschide pawncc.exe din Pawno care crezi tu ca e mai bun si apoi redeschide acel fisier .pwn sau copii includele ala in toate serverele tale.
  25. http://www.xerom-zone.ro/index.php?action=include
×
×
  • 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.