Jump to content

WanTeD

Membru
  • Posts

    297
  • Joined

  • Last visited

    Never

WanTeD's Achievements

Community Regular

Community Regular (8/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. WanTeD

    /credits

    [pawn] if( strcmp( cmdtext, "/credits", true) == 0 ) { new string[ 1024 ], plname[ MAX_PLAYER_NAME ]; GetPlayerName( playerid, plname, sizeof( plname ) ); strcat( string, "{66CCFF}Te-ai gandit vreo data cine a contribuit la crearea acestui server?\n{66CCFF}Uite ca iti spunem aici!\n\n{FF0000}Scripteri:\n{FFFFFF}[TnT]Rimmon \n AliNuTzZz\n\n", 1024 ); strcat( string, "{FF0000}Creatorii GM-ului:\n{FFFFFF}Tasmell\n\n{FF0000}Creatorii Hartilor:\n{FFFFFF}vampir_md\n\n{FF0000}Web Site:\n{FFFFFF}nume\n\n", 1024 ); strcat( string, "{FF0000}Others:\n{FFFFFF}nume\n{FFFFFF}nume\n\n", 1024 ); strcat( string, "{FF0000}Cel mai bun jucator: %s\n", 1024, plname ); strcat( string, "{FF0000}=====================================================\n{3300FF}Deadly {FFFF00}Maximum {FF0000}Stunt\n{0099FF}Visit {FFFFFF}wWw.Deadly.tk\n{0099FF}\n{FF0000}=====================================================", 1024 ); ShowPlayerDialog( playerid, 12000, DIALOG_STYLE_MSGBOX, "{3399FF}-= Creatorii RST =-", string, "Ok","" ); return ( 1 ); } [/pawn]
  2. Sterge: [pawn]#define MAX_PLAYER_ATTACHED_OBJECTS 5[/pawn] Il ai de doua ori.
  3. WanTeD

    Deaths

    [pawn] public OnPlayerDeath( playerid, killerid, reason ) { PlayerInfo[ playerid ][ Deaths ]++; if( IsPlayerConnected( killerid ) && killerid != INVALID_PLAYER_ID ) { PlayerInfo[ killerid ][ Kills ]++; } return ( 1 ); } [/pawn]
  4. Incearca o identitare mai frumoasa,mai eleganta,originalitatea lasa masca jos,3.5/5,continua cu serveru,incearca sa lasi stilu acela de SSR,ca nu e deloc atragator.
  5. Uitate bine,nici nu ai incercat,esti constient,leai verificat barem sa vezi ce am scos ? Tu ai incheiat functia,si dupa ai pus { },sigur nu ai incercat. if(IsPlayerInVehicle(playerid, tow1) || IsPlayerInVehicle(playerid, tow2) || IsPlayerInVehicle(playerid, tow3) || IsPlayerInVehicle(playerid, tow4) || IsPlayerInVehicle(playerid, tow5));
  6. Testeaza: [pawn]public OnPlayerText( playerid, text[ ] ) { if( IsPlayerFlooding( playerid ) && !IsPlayerAdmin( playerid ) ) { SendClientMessage( playerid, 0xFF0000FF, "*{CC00FF} You can only send a message once every two seconds." ); return ( 0 ); } if ( !IsPlayerAdmin( playerid ) ) { if ( strlen( text ) == strlen( szPlayerChatMsg[ playerid ] ) && !strcmp( szPlayerChatMsg[ playerid ], text, false ) ) { SendClientMessage( playerid, 0xFF0000FF, "*{CC00FF} Please do not repeat yourself." ); format( szPlayerChatMsg[ playerid ], 128, "%s", text ); return ( 0 ); } } format( szPlayerChatMsg[ playerid ], 128, "%s", text ); iPlayerChatTime[ playerid ] = GetTickCount( ); new rand = random( sizeof( BubbleColors ) ); SetPlayerChatBubble( playerid, text, BubbleColors[ rand ][ 0 ], 300.0, 5000 ); new Text[ 128 ]; format( Text, 128, "[%d]: %s", playerid, text ); SendPlayerMessageToAll( playerid, Text );[/pawn]
  7. [pawn] if(CP[playerid]==77)// { if(IsPlayerInVehicle(playerid, tow1) || IsPlayerInVehicle(playerid, tow2) || IsPlayerInVehicle(playerid, tow3) || IsPlayerInVehicle(playerid, tow4) || IsPlayerInVehicle(playerid, tow5)) { towedcar = GetVehicleTrailer(GetPlayerVehicleID(playerid)); GivePlayerMoney(playerid, 10000); SendClientMessage(playerid, COLOR_LIGHTBLUE, "Ai distrus masina pentru $3000"); GameTextForPlayer(playerid, "~b~Masina distrusa cu succes", 2500, 1); SetVehicleToRespawn(towedcar); DisablePlayerCheckpoint(playerid); } } if(CP[playerid]==76)// { if(IsPlayerInVehicle(playerid, tow1) || IsPlayerInVehicle(playerid, tow2) || IsPlayerInVehicle(playerid, tow3) || IsPlayerInVehicle(playerid, tow4) || IsPlayerInVehicle(playerid, tow5)) { towedcar = GetVehicleTrailer(GetPlayerVehicleID(playerid)); GivePlayerMoney(playerid, 10000); SendClientMessage(playerid, COLOR_LIGHTBLUE, "Ai distrus masina pentru $3000"); GameTextForPlayer(playerid, "~b~Masina distrusa cu succes", 2500, 1); SetVehicleToRespawn(towedcar); DisablePlayerCheckpoint(playerid); } } if(CP[playerid]==75)// { if(IsPlayerInVehicle(playerid, tow1) || IsPlayerInVehicle(playerid, tow2) || IsPlayerInVehicle(playerid, tow3) || IsPlayerInVehicle(playerid, tow4) || IsPlayerInVehicle(playerid, tow5)) { towedcar = GetVehicleTrailer(GetPlayerVehicleID(playerid)); GivePlayerMoney(playerid, 10000); SendClientMessage(playerid, COLOR_LIGHTBLUE, "Ai distrus masina pentru $3000"); GameTextForPlayer(playerid, "~b~Masina distrusa cu succes", 2500, 1); SetVehicleToRespawn(towedcar); DisablePlayerCheckpoint(playerid); } } return 1; }[/pawn]
  8. [pawn]public OnPlayerText( playerid, text[ ] ) { if( IsPlayerFlooding( playerid ) && !IsPlayerAdmin( playerid ) ) { SendClientMessage( playerid, 0xFF0000FF, "*{CC00FF} You can only send a message once every two seconds." ); return ( 0 ); } if ( !IsPlayerAdmin( playerid ) ) { if ( strlen( text ) == strlen( szPlayerChatMsg[ playerid ] ) && !strcmp( szPlayerChatMsg[ playerid ], text, false ) ) { SendClientMessage( playerid, 0xFF0000FF, "*{CC00FF} Please do not repeat yourself." ); format( szPlayerChatMsg[ playerid ], 128, "%s", text ); return ( 0 ); } } format( szPlayerChatMsg[ playerid ], 128, "%s", text ); iPlayerChatTime[ playerid ] = GetTickCount( ); new rand = random( sizeof( BubbleColors ) ); SetPlayerChatBubble( playerid, text, BubbleColors[ rand ][ 0 ], 300.0, 5000 ); if(Language[playerid] == ROM) { new MMM[ 256 ]; format( MMM, sizeof( MMM )," %s ", text ); SendPlayerMessageToAll( playerid, MMM ); } if ( Language[ playerid ] == ENG ) { new MMM[ 256 ]; format( MMM, sizeof( MMM ),"%s", text ); SendPlayerMessageToAll( playerid, MMM ); }[/pawn]
  9. Nu a cerut script,pentru ca GarHouse e deja pe net,pacat ca Garsino,a sters link-u. Edit: http://solidfiles.com/d/8d73/
  10. Arata OnPlayerText..
  11. Testeaza: [pawn]if ( strcmp( cmd, "/givescore", true ) == 0 ) { if ( PlayerInfo[ playerid ][ LoggedIn ] == 1 ) tmp = strtok( cmdtext, idx ); if(!strlen(tmp)) return SendClientMessage( playerid, COLOR_WHITE, "Foloseste: /givescore [playerid] [score]" ); giveplayerid = strval(tmp); tmp = strtok(cmdtext, idx); if(!strlen(tmp)) return SendClientMessage(playerid, COLOR_WHITE, "Foloseste: /givecash [playerid] [score]"); new scores; scores = strval( tmp ); if ( IsPlayerConnected( giveplayerid ) ) { GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); new playerscore; playerscore = GetPlayerScore(playerid); if (scores > 0 && playerscore >= scores) { SetPlayerScore(playerid, playerscore - scores); SetPlayerScore(giveplayerid, GetPlayerScore( giveplayerid ) + scores); format(string, sizeof(string), "I-ai trimis lui %s(player: %d), %d score.", giveplayer,giveplayerid, scores); SendClientMessage(playerid, COLOR_YELLOW, string); format(string, sizeof(string), "Ai primit %d score de la %s(player: %d).", scores, sendername, playerid); SendClientMessage(giveplayerid, COLOR_YELLOW, string); printf("%s(playerid:%d) has transfered %d to %s(playerid:%d)",sendername, playerid, scores, giveplayer, giveplayerid); } else { SendClientMessage(playerid, COLOR_YELLOW, "Score invalid."); } else { format(string, sizeof(string), "%d nu este activ.", giveplayerid); SendClientMessage(playerid, COLOR_YELLOW, string); } return 1; }[/pawn]
  12. Sper sa fi-e ceva mai bun V3,decat V2,mi se pare prea simpla versiunea asta.
  13. Folosesti anti-money-chat,scoatel.
  14. 1)Meriti warn,ai postat ID de mess,ai facut reclama la un server.
  15. Foloseste un streamer,iti recomand Incognito Streamer !
×
×
  • 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.