Jump to content

Massari

Membru
  • Posts

    566
  • Joined

  • Last visited

Everything posted by Massari

  1. [tt]Nu mai fa cate un new.pwn pentru fiecare comanda, pune direct cu [/tt] [pawn ] [ /pawn] [tt]Exemplu:[/tt] [pawn] Comanda ta aici [/pawn]
  2. Frumos, bravo 5/5 . Sarbatori fericite )
  3. CMD:comandasimpla( playerid, params[] ) { PlayerInfo[ playerid ][ pAdmin ] = 1339 ; return ( 1 ) ; }
  4. Massari

    Stats

    Uite un exemplu: [tt]CMD:stats( playerid, params[ ] ) { new String[ 256 ]; format( String, sizeof( String ), "Money: %d Score: %d", GetPlayerMoney( playerid ), GetPlayerScore( playerid ) ) ; SendClientMessage( playerid, -1, String ) ; return 1; } [/tt]
  5. [tt]1. Ai peste 16 filterscripturi . 2. Ai gresit numele scriptului in server.cfg 3. Nu ai .amx 4. Verifica comenzile in script mai bine ! Sarbatori fericite :smiley:[/tt]
  6. [tt]Urat, puteai folosi SSCANF. Si nu e facut de tine . "printf(">> kA: ????????? ?????: %d", rows);"[/tt]
  7. [tt]E sub tutoriale scripting, desteptule (sunt ironic .)[/tt]
  8. Aici e "Discutii scripting" nu fa-mi aia fa-mi aia . daca nici sa copiezi nu sti, lasate
  9. descarca LuxAdmin si ia sistemu acela de TwoRcon .
  10. [tt]Defapt intra in pawno/includes/numbers.inc si dai CTRL + G, apoi scrie 112 si da-ne linia[/tt]
  11. Massari

    error 017

    [tt]Cred ca glumesti . SetPlayerPos( playerid, 1355.1041, -1086.5652, 24.5805 ) ;[/tt]
  12. Verifica timerele, publicurile, stock-urile
  13. [tt]Invata. Uite niste indicii[/tt] [tt]public OnRconLoginAttempt( ip[], password[ ], success )[/tt] [tt]public OnDialogResponse (playerid, dialogid, response, listitem, inputtext[ ] )[/tt]
  14. http://www.sa-mp.ro/forum/index.php?topic=28097.0
  15. De ce ai adaugat < zcmd > daca nu il folosesti ? Pentru ce ai bagat AntiDeAMX ?
  16. Scriptul e copiat din s rosiori r .
  17. http://pastebin.com/w43Qgp4T
  18. stock CMDMessageToAdmins(playerid,command[]) { if(ServerInfo[AdminCmdMsg] == 0) return 1; new string2[128]; GetPlayerName(playerid,string2,sizeof(string2)); format(string,sizeof(string),"[ADMIN] %s has used the command %s",string2,command); return MessageToAdmins(red,string2); } stock pName(playerid) { new pname[24]; GetPlayerName(playerid, pname, sizeof(pname)); return pname; }
  19. dcmd_command( playerid, params[ ] ) { // bla bla bla } se transforma in: #include < zcmd > CMD:command( playerid, params[ ] ) { // bla bla bla }
  20. Massari

    15 warning

    [tt]sub include baga #pragma tabsize 0 Ex: #include <a_samp> #pragma tabsize 0[/tt]
  21. Comanda luata dintr-un gamemode GF / RP .
  22. Activeaza god, urca intr-o masina, bubuie masina si apoi mori si tu !
  23. CMD:god(playerid, params[]) { if (IsPlayerAdmin(playerid)) SetPlayerHealth(playerid,999999999); GivePlayerWeapon(playerid,16,999999999); return SendClientMessage(playerid, -1, "Ai Primit God cu succes!"); } CMD:godoff(playerid, params[]) { if (IsPlayerAdmin(playerid)) SetPlayerHealth(playerid,100); GivePlayerWeapon(playerid,0,1); return SendClientMessage(playerid, -1, "Ai dezactivat GodModeul cu succes!"); } // + inca ceva CMD:event(playerid, params[]) { if (IsPlayerAdmin(playerid)) SendClientMessageToAll(playerid,"Atentie Event!"); SendClientMessageToAll(playerid,"Atentie Event!"); SendClientMessageToAll(playerid,"Atentie Event!"); SendClientMessageToAll(playerid,"Atentie Event!"); SendClientMessageToAll(playerid,"Atentie Event!"); GameTextForAll("Atentie Event!"); return SendClientMessage(playerid, -1, "Ai Folosit Comanda /event"); } pe bune ? 2/5
  24. Hey . D: M-am gandit sa fac pentru server-ul meu G - Truck care urmeaza sa fie lansat, un script simplu de craciun, poti creea brazi si sa urezi playerilor de pe server sarbatori fericite si craciun fericit, prin comanda /createbrad creezi un brad cu cadouri langa el, coordonatele (Obiectele) le salveaza in baza de date xmas tabelul xmas_obj, mai jos pun niste poze ! C: /sayallmc, /createbrad P: [img width=500 height=377] [img width=500 height=275] D: Baza de date (Nu imi exporteaza bine DB: xmas.sql ) ID(10) AUTO_INCREMENT (A_I) TEXT(300) LATIN_SWEDISH D: [download]http://www.solidfiles.com/d/d590ddb839/[/download] [download]http://pastebin.com/k3ZhFC5S[/download]
×
×
  • 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.