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 - Pawno

Pages: [1]
1
Support / Re: My scripts not coming on internet list?
« on: July 01, 2011, 03:50:04 am »

Quote
...that blocks it from being broadcast outside the LAN. Meaning no one else can get in.


oh  :P

2
Support / Re: My scripts not coming on internet list?
« on: July 01, 2011, 03:42:00 am »
Lanmode is 0 ? change to 1

3
mIRC/pawn Scripting / Re: SetDeathDropAmount?
« on: June 07, 2011, 05:34:10 am »
samp

4
mIRC/pawn Scripting / Re: Cop and medic
« on: June 07, 2011, 05:33:57 am »
I know your doing this but I will not go:)
make your

5
mIRC/pawn Scripting / Re: Player Drop
« on: May 07, 2011, 10:50:19 pm »
Try,

[pawn]public OnPlayerDeath(playerid, killerid, reason, bodypart)
{
ResetPlayerWeapons(playerid);
return 1;
}[/pawn]

  :)

6
mIRC/pawn Scripting / Re: Set World Bounds in Pawno?
« on: April 18, 2011, 02:14:34 pm »
Only for all players.

7
mIRC/pawn Scripting / Re: [help]Money bug.
« on: February 17, 2011, 03:13:16 am »
Gups ? ...

8
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.

9
mIRC/pawn Scripting / Re: i need to help , thanks (pawno)
« on: January 29, 2011, 11:51:48 pm »
Not work in pawno (i think).   :D

10
Put in. public OnPlayerConnect(playerid) GameTextForPlayer(playerid,"Welcome"); you can take the default color "pink" for others it is just you get this link > http://famp.ru/wiki/GameTextCodes example

public OnPlayerConnect(playerid)
{
   ServerInfo[0][Countx] = 3;
   SetWaterLevel(6.0);
   SetGamespeed(100);
   SetGravity(100);
   SetPlayerMoney(playerid,0);
    GetPlayerName(playerid,gPlayers[playerid],MAX_PLAYER_NAME);
    
    PlayerInfo[playerid][Spawned] = 0;
    new string[256];
   format(string,256,"** [%d] %s has joined the server.",playerid,gPlayers[playerid]);
   print(string);
   format(string,256,"3** [%d] %s has joined the server.",playerid,gPlayers[playerid]);
   SendToIRC(string);

   format(file, sizeof(file), USERS_FILE, gPlayers[playerid]);
   new loggedin, lluip[256], IP[256]; loggedin = dini_Int(file, "Login"), lluip = dini_Get(file, "Ip");
   if(dini_Exists(file)) {
       if (loggedin == 1 && CompariseIp(playerid) == 1) {
         new level, stats, nogoto, noloc, cash, szMsg[256];
         level = dini_Int(file, "Level");
         stats = dini_Int(file, "Stats");
         nogoto = dini_Int(file, "NoGoto");
         noloc = dini_Int(file, "NoLoc");
         cash = dini_Int(file, "Cash");
         GetPlayerIp(playerid,IP,256);

         PlayerInfo[playerid][Logged] = 1;
         PlayerInfo[playerid][Level] = level;
         PlayerInfo[playerid][Stats] = stats;
         PlayerInfo[playerid][NoGoto] = nogoto;
         PlayerInfo[playerid][NoLoc] = noloc;
                        GameTextForPlayer(playerid,"Welcome to blablabla server");
         SendClientMessage(playerid,COLOR_GREEN,"You have auto-loged in!");
         format(szMsg,sizeof(szMsg),"Nick:[ %s ] Level:[ %d ] Status:[ %s ]",gPlayers[playerid],level,StatusTag(level));
         SendClientMessage(playerid,COLOR_GREEN,szMsg);
         SetPlayerMoney(playerid,0);
         SetPlayerMoney(playerid,cash);
      }
      else {
         SendClientMessage(playerid, COLOR_GREEN, "Please login to this account!");
         SendClientMessage(playerid, COLOR_GREEN, "USAGE: /c login [Password]");
         PlayerInfo[playerid][Logged] = 0;
      }
   }
   else {
                GameTextForPlayer(playerid,"Welcome to blablabla server");
      SendClientMessage(playerid, COLOR_GREEN, "Your nick is not registered. Please register to protect it!");
      SendClientMessage(playerid, COLOR_GREEN, "USAGE: /c register [Password]");
      PlayerInfo[playerid][Logged] = 2;
      PlayerInfo[playerid][Stats] = 2;
   }
   return 1;
}

11
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

12
mIRC/pawn Scripting / Re: Help GUPS...
« on: January 26, 2011, 10:22:14 pm »
I want each one has a different message and not all equal  :P

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

14
mIRC/pawn Scripting / Re: how to add cars on my server ??
« on: December 22, 2010, 03:43:44 am »
Try,

 
Code: [Select]
public OnGameModeInit() //Example
{
    AddStaticVehicle(150, -1343.22204589, 1494.09130859, 298.59179687, 12, 13);
 return 1;
}
Code: [Select]
public OnGameModeInit()
{
    AddStaticVehicle(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
 return 1;
}

Vehicle id's: http://famp.ru/wiki/VehicleIDs
Car colors: http://famp.ru/wiki/CarColors

good lucky :)



15
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]