Jump to content

ViRuS2011

Membru
  • Posts

    4
  • Joined

  • Last visited

    Never

ViRuS2011's Achievements

Newbie

Newbie (1/14)

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

Recent Badges

0

Reputation

  1. Ma puteti ajuta si pe mine? [pawn] //Meg--------------------------------------------------------------------------- //------------------------------------------------------------------------------ new Msg; new Announcements[14][128] = { {""DKR_RED"[bOOT]:"DKR_WHITE"Vrei mai multa viteza? Type "DKR_GREEN"/sb."}, {""DKR_RED"[bOOT]:"DKR_WHITE"Poti edita stilul de lupta! Type "DKR_GREEN"/fs "DKR_WHITE"for Info."}, {""DKR_RED"[bOOT]:"DKR_WHITE"Scrie "DKR_GREEN"/cmds "DKR_WHITE"pentru o lista de comenzi."}, {""DKR_RED"[bOOT]:"DKR_WHITE"Vrei mai multe arme? Type "DKR_GREEN"/wepons /arme!"}, {""DKR_RED"[bOOT]:"DKR_WHITE"Vrei sa sari de la 1000m inaltime? Type "DKR_GREEN"/dive!"}, {""DKR_RED"[bOOT]:"DKR_WHITE"Serverul este updatat saptamanal!!"}, {""DKR_RED"[bOOT]:"DKR_WHITE"Vrei sa te duci intr-un loc cool? Type "DKR_GREEN"/teles!"}, {""DKR_RED"[bOOT]:"DKR_WHITE"Nou pe server? Type "DKR_GREEN"/cmds "DKR_WHITE"si "DKR_GREEN"/rules!"}, {""DKR_RED"[bOOT]:"DKR_WHITE"Bun venit pe: "DKR_RED"Romania "DKR_YELLOW"Gold "DKR_BLUE"Generation! "DKR_WHITE"Distractie placuta!"}, {""DKR_RED"[bOOT]:"DKR_WHITE"Vrei admin? www.godsgaming.com/forum !"} }; //------------------------------------------------------------------------------[/pawn] Eroare: D:\GTASAMPStuntBUN\gamemodes\RGG.pwn(823) : error 052: multi-dimensional arrays must be fully initialized Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 1 Error.
  2. Dar cum sa fac daca vreau sa repar masina pe 2?
  3. Nitro si Viata la masina (Tasta 2) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if(newkeys == KEY_SECONDARY_ATTACK ) { if(!IsPlayerInAnyVehicle(playerid)) { new Float:x, Float:y, Float:z, vehicle; GetPlayerPos(playerid, x, y, z ); GetVehicleWithinDistance(playerid, x, y, z, 20.0, vehicle); if(IsVehicleToy(vehicle)) { PutPlayerInVehicle(playerid, vehicle, 0); } } else { new vehicleID = GetPlayerVehicleID(playerid); if(IsVehicleToy(vehicleID)) { if(GetVehicleModel(vehicleID) != 449) { InCar[playerid] = false; new Float:x, Float:y, Float:z; GetPlayerPos(playerid, x, y, z); SetPlayerPos(playerid, x+0.5, y, z+1.0); } } } } if(newkeys == KEY_FIRE) { if(IsPlayerInAnyVehicle(playerid)) { if(!IsPlayerInInvalidNosVehicle(playerid, GetPlayerVehicleID(playerid))) { if(NitroActive[playerid] == false) { AddVehicleComponent(GetPlayerVehicleID(playerid),1010); SendClientMessage(playerid,COLOR_BASIC,"Nitro: On."); PlayerPlaySound(playerid, 1137, 0.0, 0.0, 0.0); NitroActive[playerid] = true; } else { RemoveVehicleComponent(GetPlayerVehicleID(playerid), 1010); SendClientMessage(playerid,COLOR_BASIC,"Nitro: Off."); PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0); NitroActive[playerid] = false; } } else { SendClientMessage(playerid, COLOR_RED, "You can't add nitro to this vehicle."); } } } if(newkeys == KEY_SUBMISSION) { if(IsPlayerInAnyVehicle(playerid)) { if(IsPlayerInArea(playerid, 1153.0000, 1307.5000, -2107.5000, -2003.5000) == 1) { SendClientMessage(playerid,COLOR_RED,"You are not allawed to repair your vehicle in /BloodringArena."); } else { SetVehicleHealth(GetPlayerVehicleID(playerid),1000.0); SendClientMessage(playerid,COLOR_BASIC,"Your vehicle has been fixed."); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); } } } return 1; }
×
×
  • 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.