Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - johnx

Pages: [1] 2
1
mIRC/pawn Scripting / Re: !flip command need to fix
« on: January 15, 2011, 08:31:44 am »
can u write the codes in script plz
or give me full code for flip command

2
mIRC/pawn Scripting / Re: help me
« on: January 10, 2011, 08:40:47 am »
WorKed thnx

3
mIRC/pawn Scripting / Re: help me
« on: January 10, 2011, 08:34:58 am »
it gives these errors
Quote
D:\VCMPSE~1\MYSERV~1\GAMEMO~1\GUPS11~1.PWN(1713) : error 001: expected token: ";", but found "if"
D:\VCMPSE~1\MYSERV~1\GAMEMO~1\GUPS11~1.PWN(1713) : error 029: invalid expression, assumed zero

4
mIRC/pawn Scripting / Re: help me
« on: January 09, 2011, 03:40:48 pm »
not working

if(strcmp(cmd,"!fix",true) == 0)
    {
        if(!IsPlayerInAnyVehicle(playerid))
        {
            SendClientMessage(playerid,COLOR_GREY,"You're not in a vehicle!");
            if ((GetPlayerVehicleID(playerid)==155) || (GetPlayerVehicleID(playerid)==177)) SendClientMessage(playerid,COLOR_RED,"You cant fix this vehicle");
            return 0;
   }
        SetVehicleTyre(GetPlayerVehicleID(playerid), 1);
      SetVehicleLights(GetPlayerVehicleID(playerid), 1);
        SetVehicleHealth(GetPlayerVehicleID(playerid),1000);
   SendClientMessage(playerid,COLOR_YELLOW,"Your car has been fixed!");
   return 0;

      return 1;
}

5
mIRC/pawn Scripting / help me
« on: January 09, 2011, 12:59:37 pm »
how to stop fixing hunter from !fix command can anyone tell me or give me cods to stop !fix command to fixing hunter and sea sparrow

6
mIRC/pawn Scripting / !flip command need to fix
« on: January 07, 2011, 04:18:50 pm »
i making !flip command i try so much but it is not working can any one here who is good in pawno so plz fix it for the players and for me

Quote
else if (strcmp(cmd, "!flip", true) == 0) {
new Float:x, Float:y, Float:z;
GetVehiclePos(GetPlayerVehicleID(playerid), x, y, z);
SetVehiclePos(GetPlayerVehicleID(playerid), x, y, z);
SendClientMessage(playerid, COLOR_GREEN, "Vehicle Flipped!");
return 1;
}

7
mIRC/pawn Scripting / WSV for vcmp 0.3zr2
« on: December 21, 2010, 09:58:52 am »
can any one have new dll for wsv for to use it in 0.3zr2

8
mIRC/pawn Scripting / Re: help for short weapon command
« on: December 16, 2010, 11:18:41 am »
not working!!!!!!!!!!

9
mIRC/pawn Scripting / Re: help for short weapon command
« on: December 16, 2010, 09:54:40 am »
noob i dont want make a command for one weapon like !stubby then !spaz lol i dont like that
i just need /c spaz os /c wep spaz for there we can take all guns not one

10
mIRC/pawn Scripting / Re: help for short weapon command
« on: December 15, 2010, 07:52:58 pm »
hy i need all guns short command not only stubby  i mean /c spaz /c stubby or /c /c wep spaz /c wep m4 like that not !stubby

11
mIRC/pawn Scripting / help for short weapon command
« on: December 15, 2010, 04:28:54 pm »
i am using gups but there is one problem in weapon cmd it is to long can anyone know how to short it
form !wep stubby 999
example:
/c stubby
/c wep stubby
here is command

Quote
   }
   else if (strcmp(cmd, "!wep", true) == 0) {
       new tmp2[256], wep;
      tmp = strtok(cmdtext, idx), tmp2 = strtok(cmdtext, idx);
      if(PlayerInfo[playerid][Logged] != 1) SendClientMessage(playerid, COLOR_RED, "You need to login first!");
      else if (!strlen(tmp2)) SendClientMessage(playerid, COLOR_GREEN, "USAGE: !wep [WeaponName/ID] ammo");
      else {
         wep = FindWepIDFromString(tmp);
         SetPlayerWeapon(playerid,wep,strval(tmp2));
      }
      return 1;
   }

12
mIRC/pawn Scripting / !fight problem
« on: December 03, 2010, 12:20:40 pm »
when i do !fight in my server then i get 3 guns stubby m4 m60 but i want only one gun in !fight it is stubby so how to do it here is it see and solve it


 else if (strcmp(cmd, "!fight", true) == 0)
   {
   tmp = strtok(cmdtext, idx);
      if (!strlen(tmp)) {
                SetPlayerPos(playerid, -1363.4431,1332.3104,83.8882,250.4980);
               SendClientMessage(playerid, COLOR_ORANGE, "Welcome to Fight Zone!");
            GivePlayerWeapon(playerid, 21, 100);
            new plname[24],enstr[256];
                GetPlayerName(playerid,plname,24);
                format(enstr,sizeof(enstr),"%s has join fight zone.",plname);
                SendClientMessageToAll(COLOR_ORANGE,enstr);
      }
      return 1;
   }

13
mIRC/pawn Scripting / Help me about mirc script
« on: December 03, 2010, 09:03:53 am »
when i try to to connect WSV0.3 to my server it just connecting  and then in vcmpserver.exe error comes it says "i need Admin-password in the .ini before i can start the server" i i have enter pass in config file of server but can any one help about WSV...and it also says error in mirc that configure the setting correctly can anyone tell me that setting of WSV..

14
mIRC/pawn Scripting / Re: help me about FBS scripts...
« on: November 05, 2010, 10:42:15 am »
it not work i copy my config file it still says invalid car id

15
mIRC/pawn Scripting / Re: help me about FBS scripts...
« on: November 04, 2010, 04:31:16 pm »
yes it works scripts r connected but there is one more probelm when go to buy any car it says invalid car id how to fix it...in fbs

Pages: [1] 2