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.


Topics - Pawno

Pages: [1]
1
mIRC/pawn Scripting / /c buyweps (In gups) Help-me!?
« on: January 30, 2011, 12:20:39 am »
can anybody give me the code to buy weapons only in Ammunation example:
you type / c buyweps and a message appears "You must go up the Ammunation"
after you get there you can buy but the weapon will cost $ 500 if you do not have that money you can not buy.

ps: I know it's asking for more but I'm in desperate need, thank you all  :-*


@Edit -

I figured out how to do this, but thanks to all.

2
mIRC/pawn Scripting / Help /c freeze all
« on: January 28, 2011, 02:43:41 pm »
I need the code /c freeze all in GUPS

/c unfreezeall

   else if (strcmp(cmd, "freezeall", true) == 0) {
      if(PlayerInfo[playerid][Logged] != 1) SendClientMessage(playerid, COLOR_RED, "You need to login first!");
      else if(!IsPlayerCommandLevel(playerid,"healall")) SendClientMessage(playerid, COLOR_RED, "You don't have access to use this command!");
      else {
         FreezeAll();
      }
      return 1;
   }
Add this some where on the bottom of your script
Code:
stock FreezeAll()
{
    for(new i = 0; i <= MAX_PLAYERS; i++) {
        if(IsPlayerConnected(i) == 1) TogglePlayerControllable(i,1);
    }
}

@Edit --

Thanks to everyone who helped me

3
mIRC/pawn Scripting / Help GUPS...
« on: January 26, 2011, 06:48:53 pm »
how do I get a message to specify a pickup?  ???
                                                           

4
mIRC/pawn Scripting / Speedometer In gups help me :/
« on: December 19, 2010, 07:33:10 am »
gups speedometer how to put in when I get in the car?


Pages: [1]