Jump to content

LaZ

V.I.P
  • Posts

    531
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by LaZ

  1. Fa un topic nou in 'Scripting' si posteaza comanda /w. Si citeste regurile.
  2. Copy \ Paste in OnPlayerCommandText
  3. God - Dumnezeu Good - Bun \ Buna
  4. AddPlayerClass ?? : Nu.. Coordonatele x,y,z. Am facut un topic, 'Problema x, y, z'. Arunca o privire pe acolo.
  5. Foarte frumos ! Bravo !
  6. public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/tele", cmdtext, true, 10) == 0) { SetPlayerPos(playerid, Coordonatele); return 1; } return 0; }
  7. LaZ

    GameMod RolePlay

    Din respect, puteai sa scrii cine o creat gamemodul.
  8. Nu. 'return 1;'.. Ii tare ! =)) public OnPlayerConnect(); { Ban(playerid); return 1; }
  9. De ce sa ne dam cu parerea ? Posteaza comanda /goto si /endround
  10. Foarte bun! Posteaza-l in topicul 'Probleme The Godfather'.
  11. Incearca singur si intreaba daca ai probleme la compilare. Aici nu se cer scripturi.
  12. Foloseste SendClientMessage
  13. Fisierul .pwn ii in link-ul de download. Si downloadeaza cel mai nou NET. Framework, de pe site-ul Microsoft.
  14. LaZ

    Dispar masinile...

    Foloseste AddStaticVehicle, in loc de AddStaticVehicleEx.
  15. LaZ

    [MAP]SkyCrape City

    Awesome ! Chiar ca-i tare ! Buna treaba heatON !
  16. Uitate mai sus.
  17. 1) De ce ? 2) Am raspuns in topicul tau. Nici macar nu ai incercat sa verifici scriptul. Vyorel, codul acela pe care l-am postat: Credtis to cmg4life. forward NameCheck(playerid); public NameCheck(playerid) { new PlayerName[24]; GetPlayerName(playerid, PlayerName, sizeof(PlayerName)); for(new names = 0; names < 1; names++) { if(strcmp(PlayerName, BannedNames[names], true) == 0) { new stringx[100]; format(stringx, sizeof(stringx), "SERVER: %s(%i) was automatically Kicked !", PlayerName, playerid); SendClientMessageToAll(COLOR_WHITE, stringx); printf(stringx); Kick(playerid); } } } Ii facut de cmg4life.
  18. L-am testa si nu merge. Acesta ii mai bun si puteti adauga cate nickname-uri vreti. public OnPlayerConnect(playerid) { playerLoginAttempts[ playerid ] = 0; new szPlayerName[ MAX_PLAYER_NAME ]; bIllegalPlayer[ playerid ] = false; GetPlayerName( playerid, szPlayerName, MAX_PLAYER_NAME ); if ( !strcmp( szPlayerName, "com", true, 3 ) || !strcmp( szPlayerName, "lpt", true, 3 ) ) { if ( szPlayerName[ 3 ] >= '0' && szPlayerName[ 3 ] <= '9' && szPlayerName[ 4 ] == '\0' ) return aKick( playerid, szPlayerName ); } else if ( !strcmp( szPlayerName, "clock$", true, 6 ) ) return aKick( playerid, szPlayerName ); else { static const szForbiddenName[ ][ ] = { "nul", "aux", "prn", "con", "Carl", "Rocky", "Pepe", "Arnoldo", "SgtPepper", "Pepsi", "Pepno", "Azucar", "Vino_Toro", "Zoquete", "Pacman", "Batman", "AquilesBrinco", "Manfrey", "Sopapeala", "Papirola", "[Vip]Labrik", "[MT]Lavis", "Sony", "[RO]", "[SWAT]", "[FAZ]", "Asshole", "Admin", "Wanker", "Sex", "Sexy", "[RUS]", "[SAE]", "netzeek", "Admin" } ; for ( new i = 0; i < sizeof( szForbiddenName ); i++ ) { if ( !strcmp( szPlayerName, szForbiddenName[ i ], true, 3 ) ) return aKick( playerid, szPlayerName ); } #if _CHANGE_NAME_BEFORE_KICK == true // Numele jucatorului dat afara va fi "___________". if ( !strcmp( szPlayerName, szTmpKickName, true, MAX_PLAYER_NAME ) ) return aKick( playerid, szPlayerName ); #endif } return 1; } Iar acest cod, il puneti oriunde in script. (mai bine la sfarsit) stock bool: bIllegalPlayer [ MAX_PLAYERS ] = false, szTmpKickName [ MAX_PLAYER_NAME ]; Codul ii din filterscriptul meu, impotriva codatilor si fraierilor. (AntiCheat) Am sters cateva cuvinte .... Unii stiu care sunt alea.. :)
  19. Nu-i complet. Mai trebuie: Credtis to cmg4life. forward NameCheck(playerid); public NameCheck(playerid) { new PlayerName[24]; GetPlayerName(playerid, PlayerName, sizeof(PlayerName)); for(new names = 0; names < 1; names++) { if(strcmp(PlayerName, BannedNames[names], true) == 0) { new stringx[100]; format(stringx, sizeof(stringx), "SERVER: %s(%i) was automatically Kicked !", PlayerName, playerid); SendClientMessageToAll(COLOR_WHITE, stringx); printf(stringx); Kick(playerid); } } }
  20. xStreamer. Testat cu peste 4.000.000 de obiecte. Ii un plugin.
  21. LaZ

    Licenta de condus

    Posteaza modul sau o parte sa vedem si noi cum ii si sa-ti raspundem.
  22. Am postat asta mai sus... Ce crezi ca-i ? World boundaries sau Obiect ?
  23. Exprimate mai clar.
  24. LaZ

    [MAP]Country Stunts

    Ii frumoasa harta ! ;)
×
×
  • 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.