Vice City Multiplayer

VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: [Akatsuki]Itachi on June 24, 2013, 02:52:19 pm

Title: Gravity help !
Post by: [Akatsuki]Itachi on June 24, 2013, 02:52:19 pm
I am setting gravity, but whatever number i put, things is still same ? What number should i put so things will float ? Please help me get a number.
Title: Re: Gravity help !
Post by: JaVeD on June 25, 2013, 06:31:03 pm
-99
Title: Re: Gravity help !
Post by: aledark24 on June 27, 2013, 04:13:25 am
for play well... is better `put the gravity in 21 so, the players jump and have time to shoot in the air...

:D

[pawn]   else if (strcmp(cmd, "Fun", true) == 0)
   {
    tmp = strtok( cmdtext, idx );
    new i;
     if (!strlen(tmp)) SendClientMessage(playerid, 0xFFFF00AA,"[Error] Write /c fun on/off");
            else
      {
      
           if (strcmp(tmp, "on", true) == 0)
          {
    for (i = 0; i <= MAX_PLAYERS; i ++)
    {
        EnableShootInAir(i,1);
      SetPlayerWeapon(i,32,10000);
     SetGravity(21);
        }
        SendClientMessageToAll(0xFFFF00AA, " Shoot in air - Kill Everyone!! ");
        GameTextForAll("~l~Shoot in air on!!");
        }
    else if (strcmp(tmp, "off", true) == 0) {
    for (i = 0; i <= MAX_PLAYERS; i ++)
    {
        EnableShootInAir(i,0);
SetGravity(100);
    }
    SendClientMessageToAll(0xFFFF00AA, " Shoot in air - DeActivated!! ");
    GameTextForAll("~l~Shoot in air off!!");
    }
      }
    return 1;
}[/pawn]

this is my command xD...


ENJOY!!






Title: Re: Gravity help !
Post by: [Akatsuki]Itachi on June 27, 2013, 10:06:22 am
thx guys !