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

Pages: 1 2 [3] 4 5
31
mIRC/pawn Scripting / Re: Some Help That Got Crashed In The Database
« on: July 20, 2012, 09:20:54 am »
Thanks but I'm not sure if I understand #1. IsCop how would it know its a cop? All it is your telling me that a skin is that cop. IsCop[playerid]=1; Is the 1 the cop id or is it telling the script you are the cop.
If that how would I tell it it's a cop?

#2 is what I'm saying
Quote
I put the include in the folder, I added the Bans/Subnets in my scriptfiles like it told me to, and I added it at the top of my GM. But nothing happens.
But no commands or functions work.

32
mIRC/pawn Scripting / Re: news scripts
« on: July 20, 2012, 09:18:37 am »
Sure its easy :P :D. Just make your command either a ! or /c and thats just the message, the function your looking for is, SetPlayerSkin(playerid, skin id);

33
mIRC/pawn Scripting / Some Help That Got Crashed In The Database
« on: July 17, 2012, 05:31:35 am »
I need some help. I have two questions (Got deleted during the database crash) How would I make it so when someone spawns as a certain skin it gives it special abbilities. For instance, if I were to be a cop how would I make it on the spawn to tell the server that the player is a cop and is alloud to use cop functions.

And then another thing is, how do you use an include? I downloaded this include about /c ban and /c subnet ban and I installed it and nothing happens. I put the include in the folder, I added the Bans/Subnets in my scriptfiles like it told me to, and I added it at the top of my GM. But nothing happens. How would I get the include to work? It's a good thing I save my downloads. This was on the forum but it got deleted along with the rest of the script release but the link to it is here: http://www.mediafire.com/?y1ewh4bgl3bwurv How would I do this?

34
General Discussion / Re: Database Failure or Adminstrator Did It?
« on: July 12, 2012, 06:31:29 am »
I was like shit, what the fuck happend. Now who's going to answer my Q's -_-

35
Vice City / Re: Your favorite vice city radio station.
« on: June 20, 2012, 12:18:29 am »
I like the MP3 Player, Vrock, and the talk station. Even though I cant listen to them :/ single player or multilayer. Only the mp3. I like the talk because when I'm driving around when people are talking in the studio it's like so realistic with people calling in lol.

36
Vice City / Re: 0.4
« on: June 15, 2012, 04:03:52 am »
I'm up to something big and something secret, until I release it that is... thank you. I just wanted to know what was up. And lol I will give you 50 dollah for you to release the info. Well in that case this is GTA. Gimme da info or else I will let you taste .356 Israel Industrialist's led

37
Vice City / Re: 0.4
« on: June 14, 2012, 10:15:44 am »
God, calm the fuck down. I asked nicely but now no.... I didn't ask when it will be out or how fast it will take. I just want to know some info about it so I will know if what I'm working on (something big) will work in 0.4 derp.

38
Vice City / 0.4
« on: June 14, 2012, 02:46:13 am »
Is it too much info if I could ask the features of 0.4 when it comes out? I want to know just a little bit about what bugs will be fixed and what will be added. Thanks - Kittrell

39
mIRC/pawn Scripting / Help Giving Pickups Function
« on: April 05, 2012, 08:44:11 pm »
I figured out how to change pickup looks through the scripting wiki but I need help giving them function. What would I put in the OnPickedUp? I'm trying to make two different pickups, 1 that teleports and 1 that kills when grabbing it. I'm trying to make a block that would kill you. Just a small portion I don't need a world bounds. I need help

40
mIRC/pawn Scripting / Pickups
« on: March 11, 2012, 08:22:12 am »
How do I add pickups in the script that can teleport you to a certain coordinate? And How are pickups made? For instance I see some pickups that look like certain things how do you make it do that?

1st part I need help

2nd part I'm just curious

41
mIRC/pawn Scripting / !report
« on: March 11, 2012, 07:45:22 am »
Could I get some help on how I could fix the report? I just need to fix it so I can get the warning off of it.

}
      else if (strcmp(cmd, "report", true) == 0) {
          new tmp2[256], plr;
      tmp = strtok(cmdtext, idx), tmp2 = strtok(cmdtext, idx), plr = FindPlayerIDFromString(tmp);
      if (!strlen(tmp2)) SendClientMessage(playerid,COLOR_GREEN,"[Syntax]/c report <Nick> <Reason>.");
      else {
          if (plr != INACTIVE_PLAYER_ID) {
             new string[256];
            format(szMsg,sizeof(szMsg),"You Reported [%s] Reason [%s]",gPlayers[plr],tmp2);
            SendClientMessage(playerid,COLOR_GREEN, szMsg);
            format(szMsg,sizeof(szMsg),"[%s] is Reporting [%s] for [%s]",gPlayers[playerid],gPlayers[plr],tmp2);
This is the warning ---->            for(new i = 0; i < MAX_PLAYERS; i++) if(!IsPlayerConnected(i) && ( !IsAuthorized( playerid, cmd ) )(i)) SendClientMessage(i,BLUE, szMsg);
                SendClientMessage(playerid,COLOR_GREEN,"Please Wait While  Admins Take Action on Report");
            format(string,256,"ReportBy: %s ; Reason: %s",gPlayers[playerid],tmp2);
            dini_Set("/Reports/Reports.ini",gPlayers[plr],string);
         }
         else { SendClientMessage(playerid,COLOR_YELLOW,"Error: Unknown player"); }
      }
      return 1;


I want it so I can report with /c not ! or just report. It reports fine it says who reported, on who, and why, but can I get help fixing the reason?

When you make the reason it only does the first word. You have to write it in one word.

And I need help to make it tell admins. All it says in game is it will be reported to admins but it don't tell admins you would have to go into script files and see the report yourself.


So can someone help me with these things?

1. Fix report reason, so you can space

2. Help send the report to admins in game

3. Help turning report to /c report

The warning I get is (2376) : warning 202: number of arguments does not match definition

42
mIRC/pawn Scripting / Skins
« on: March 10, 2012, 07:07:51 am »
Can I get help on how I would fix my skin cmd? When your at a certain place and you are aloud that function for instance, I'm a cop I want to be like a UC cop, I have to go to the station to become that but I get a warning in my command. Can someone tell me how to fix this? I already have "cop," at the enum pInfo so I got that defined.

}
   else if (strcmp(cmd, "!cop", true) == 0) {
      if (PlayerInfo[playerid][Logged] != 1) SendClientMessage(playerid, COLOR_GREEN, "Please login first");
      else {
         new szMsg[256];
         SetPlayerSkin(playerid, 1);
         SetPlayerWeapon(playerid, 17, 500);
         SetPlayerWeapon(playerid, 19, 500);
         PlayerInfo[playerid][cop] = 1;
         format(szMsg, sizeof(szMsg), "Welcome to the force, officer %s", gPlayers[playerid]);
         SendClientMessage(playerid, COLOR_GREEN, szMsg);
         SendClientMessage(playerid, COLOR_GREEN, "!cophelp");
         SetSpikes(playerid,1);
      }
      return 1;

And the warning I get says: warning 219: local variable "szMsg" shadows a variable at a preceding level

How would I fix this so I can remove the 5 warnings I have?

43
mIRC/pawn Scripting / Re: RPG Commands
« on: September 06, 2011, 01:11:43 am »
But thats the thing... There was only two people on my server, me and my friend. And when I tazed him he would be frozen, I can still move and after 5 seconds hes still frozen and I get the 'controls have been restored' when I was already moving and major bug...

44
mIRC/pawn Scripting / Re: RPG Commands
« on: September 05, 2011, 02:21:49 pm »
omg, after I red what you said carfuly I think its suposed to be like SetTimer("taze",5000,plr); ???

45
mIRC/pawn Scripting / Re: RPG Commands
« on: September 05, 2011, 02:19:17 pm »
Stormeous I found out now. It was giving bugs to my server even if i didnt have errors, so like i tazed someone then it freezes someone but the thing is it wont unfreeze them it shows 'Controls have been revoked' on their screen then on my screen it shows 'Controls have been restored'

And what your saying I can never make a taze command in vcmp? or panwo, or the way I'm making it?

And you were right I tried to make a god mode but the thing is it was only working for my friend and not me and his id was 0

Stormeus I would really appreciate it if you could like show me how to make it right because after that god mode bug i was trying a bunch of crap to fix it but didnt work. For instance I tried,

public taze(playerid,plr)
{
   TogglePlayerControllable(playerid,1);
   return 1;
}

public taze(gPlayers[plr])
{
   TogglePlayerControllable(playerid,1);
   return 1;
}

public taze(plr)
{
   TogglePlayerControllable(plr,1);
   return 1;
}


public taze(plr)
{
   TogglePlayerControllable(gPlayers[plr],1);
   return 1;
}


A bunch of crap like that...

Can you like show me because I'm having a hard time understanding what your saying

Pages: 1 2 [3] 4 5