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

Pages: 1 ... 5 6 [7]
91
mIRC/pawn Scripting / My Fatal Error x_X
« on: January 01, 2012, 08:01:37 pm »
I'm disappointed .

I don't know how to fix my problem X_X ...

In script , i think, are all good but.. something is deleted or.. idk

not are problem on cmds... look at "givemoney" cmd:

[pawn]else if (strcmp(cmd, "givemoney", true) == 0) {
   if(IsLogged[playerid] == 0) SendClientMessage(playerid,NOTACCES,"Need to login first !");
      else if(PlayerInfo[playerid][AdminLevel] < 5) SendClientMessage(playerid,NOTACCES,"Not have permission to use this command!(AdminLevel 5+)");
      else if(IsPlayerAdmin(playerid) || PlayerInfo[playerid][AdminLevel] >= 5)
       {
      new plr, score[256], string[256];
      tmp = strtok(cmdtext, idx), plr = FindPlayerIDFromString(tmp), score = strtok(cmdtext, idx);

      if (!strlen(tmp)) SendClientMessage(playerid,COLOR_RED,"USAGE: /c givemoney [Nick/ID] [Amount]");
        else if (plr == INACTIVE_PLAYER_ID) SendClientMessage(playerid,COLOR_RED,"Error: Unknown player");
      else {
         format(string,sizeof(string),"Admin %s Give to [ %s ] money [ %d ]",gPlayers[playerid],gPlayers[plr],strval(score));
         SendClientMessageToAll(COLOR_GREEN,string);
         IncPlayerHandCash(plr,strval(score));
      }
      }else{
      SendClientMessage(playerid,NOTACCES,"***Not have permission to use this command!");
      }
      return 1;
   }[/pawn]

I have all files.

I made a video - http://youtu.be/3bs2g56ANzU

92
mIRC/pawn Scripting / How is it with math simbols ?
« on: November 06, 2011, 03:45:08 pm »
Look... i don't know how to explain but im sure you understand.

How to make this:

[pawn]new vehicleid = GetPlayerVehicleID(playerid);
new Float:Health;
GetVehicleHealth(vehicleid,Health);
   if(Health > 80 < 90) {         //here give error
             }[/pawn]

warning 205: redundant code: constant expression is zero


 

93
mIRC/pawn Scripting / Dini Problem => New Problem...
« on: November 03, 2011, 07:03:52 pm »
I tryied to make "makeadmin" command, but not work.. not change to "1" in .ini file...

AnyBody help me please...

[pawn]else if (strcmp(cmd, "giveadmin", true) == 0) {
   if(IsLogged[playerid] == 0) SendClientMessage(playerid,NOTACCES,"Need to login first !");
        else if(Spawned[playerid] == 0) SendClientMessage(playerid,NOTACCES,"You not are Spawned !");
      else if(IsPlayerAdmin(playerid))
       {
      new plr;
      tmp = strtok(cmdtext, idx), plr = FindPlayerIDFromString(tmp);

      if (!strlen(tmp)) SendClientMessage(playerid,COLOR_RED,"USAGE: /c giveadmin [Nick/ID]");
        else if (plr == INACTIVE_PLAYER_ID) SendClientMessage(playerid,COLOR_RED,"Error: Unknown player");
      else {
            new name[MAX_PLAYER_NAME];
          GetPlayerName(playerid, name, sizeof(name));
           format(file,sizeof(file),"Users/%s.ini",name);
           if(!fexist(file))
         {
           dini_Set(file,"AdminLevel","1");
           PlayerInfo[plr][AdminLevel] = 1;
           }
      }
      }else{
      SendClientMessage(playerid,NOTACCES,"***Not have permission to use this command!");
      }
      return 1;
   }[/pawn]

94
Support / Wireless IP - How can i host my server ?
« on: October 25, 2011, 03:22:22 pm »
How can i host my server ?

I have Router Wireless for can have and my brother internet...

But i can't make visible my server... why ?

and how i can to make visible ?

95
mIRC/pawn Scripting / Pawno [Because is Locked the old topic]
« on: October 05, 2011, 12:40:18 pm »
Download: http://solidfiles.com/d/01fe/

I don't know if working... i have windows 7 and give me error when i open Pawno ...

After error, open Pawn but not appear functions ...

ERROR:           Failed to set data for ""



So... test someone this pawno and post here if work or no please ?

96
Support / Bug - I can not believe what happened
« on: July 28, 2011, 10:04:43 pm »
I was in Lebowsky Server, on RequestClass.

I chose a skin and then after I pressed CTRL to spawn me, I write fast / c myskin 104, and do not know how it happened, the man ran to me as he ran in normal game! so that skin as he ran in the game should run normally.

But unfortunately, before shooting a fucking killed me =( and I could not recover.

I could only go forward or backward, not left and right.

I tried many times to restore it, so I can shoot, but I managed to recover.

Now that I think I could put Vice City in the Windows bar and so I would not be killed =( .

Im so sorry .

97
mIRC/pawn Scripting / How to respawn all vehicles at once ? [PAWN]
« on: June 27, 2011, 03:16:27 pm »
How ?

98
I do not know how to explain it too well ...

[PAWN]

I like when there are more players on the server, only one can make a skin, and others to have skin that hang

How?

For Example: there are 3 players on the server, and I have chosen me to be a cop, the other two can not select all the police.

99
mIRC/pawn Scripting / What is wrong ? VIP System
« on: June 10, 2011, 02:22:14 pm »
 I compiled and everything is good, but when I enter the game and write "/ c makevip 3" for example, nothing happens, and even in folder finding nothing, knows no order.

What should I do?


[pawn]if(strcmp(cmdtext,"makevip",true) == 0)
   {
      if(IsPlayerAdmin(playerid))
      {
      tmp = strtok(cmdtext, idx);
      new plr = FindPlayerIDFromString(tmp);
          if(!strlen(team)) SendClientMessage(playerid,COLOR_LIGHT_RED,"USAGE: /c makevip [Nick/ID]");
         else if (plr == INACTIVE_PLAYER_ID) SendClientMessage(playerid,COLOR_LIGHT_RED,"Error: Unknown player");
         else {
             if(IsVIP[plr] == 0)
             {
            format(szMsg,256,"[VIP SYSTEM]: Admin %s made %s a V.I.P",gPlayers[playerid],gPlayers[plr]);
            SendClientMessageToAll(COLOR_YELLOW,szMsg);
            IsVIP[plr] = 1;
            }
            }
      }
      else
      {
         SendClientMessage(playerid,COLOR_RED,"[VIP SYSTEM]: You are not authorized to use this command");
         }
      return 1;
      }
   else if(strcmp(cmdtext,"takevip",true) == 0)
   {
     if(IsPlayerAdmin(playerid))
      {
      tmp = strtok(cmdtext, idx);
      new plr;
       plr = FindPlayerIDFromString(tmp);
          if(!strlen(tmp)) SendClientMessage(playerid,COLOR_LIGHT_RED,"USAGE: /c takevip [Nick/ID]");
         else if (plr == INACTIVE_PLAYER_ID) SendClientMessage(playerid,COLOR_LIGHT_RED,"Error: Unknown player");
         else {
             if(IsVIP[plr] == 1)
              {
         format(szMsg,256,"[VIP SYSTEM]: Admin %s took %s V.I.P privilegies",gPlayers[playerid],gPlayers[plr]);
         SendClientMessageToAll(COLOR_YELLOW,szMsg);
         IsVIP[plr] = 0;
             }
         else
         {
         SendClientMessage(playerid,COLOR_RED,"[VIP SYSTEM]: That player is not in V.I.P Database");
            }
         }
      }
   return 1;
   }[/pawn]

100
mIRC/pawn Scripting / OnPlayerShootPlayer
« on: May 08, 2011, 12:52:29 pm »
can be a OnPlayerShootPlayer?

[Pawn]

Thanx

101
mIRC/pawn Scripting / Drift Point = Money ?
« on: April 20, 2011, 11:19:23 pm »
May be that when you drifting to receive money?

Pawno

Pages: 1 ... 5 6 [7]