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

Pages: 1 [2] 3
16
General Discussion / Re: here are some keys and hints
« on: February 05, 2013, 06:21:44 am »
huh Storm Guy you seem to have a problem with everything, everyone posts about VC:MP you acted like you created one your self [omitted] but listen

If you ever learn to script and stop testing shit we will be waiting what a smart person he tests but can't create his own thats why he is always mad

[merged double posts]

here is some more help for people who are creating a server or client http://classes.cs.kent.edu/gpg/trac/browser/trunk/RakNet

17
General Discussion / Re: here are some keys and hints
« on: February 04, 2013, 01:56:49 pm »
What? That you are now capable of building your own VC-MP Client of some sort?

don't worry VC:MP na im working on a different game but [ Rak Net] would be every ones best bet with Visual Studio 2010 and this video here http://www.youtube.com/watch?v=sez3o00uCqU will show you the basics you need for buliding your own [Server & Client] no worries because i just tested this on VCMP 0.1c source and it compiles perfect

Does this answers your question: Fuzzy

o wait don't forget to put the raknet includes into the includes folder

18
General Discussion / here are some keys and hints
« on: February 04, 2013, 10:01:37 am »
download

Visual studio 2005 or any other bulid from there i figured it out!

19
General Discussion / Look what i found about 0.4
« on: January 14, 2013, 02:06:33 am »
look here click the link

http://pastebin.com/DjnjeWm9

20
Snippet Showroom / Re: Engine turning on/off system
« on: January 13, 2013, 02:51:46 am »
Quote

What kind of vehicle is the guy supposed to drive if you removed him ?

if the player is taken out of the vehicle then put back in the vehicle it will be drivable again

21
Snippet Showroom / Re: Engine turning on/off system
« on: January 12, 2013, 10:59:37 pm »
let me take a shot


stock SetVehicleEngine(vehicleid, on=1)//0 is off _ 1 is on
{
   switch()
   {
       case 0:
           KillVehicleEngine(vehicleid);
       case 1:
           StartVehicleEngine(vehicleid);
   }
}
stock StartVehicleEngine(vehicleid)
{
    RemovePlayerFromVehicle(playerid);
    PutPlayerInVehicle(playerid,GetPlayerVehicleID(playerid));
}

 forgot playerid you add it

22
Snippet Showroom / Re: Anti Insult System.
« on: January 11, 2013, 06:10:08 pm »
im going use this in my script thanks

23
Snippet Showroom / Re: Anti insult for all scripts
« on: January 11, 2013, 06:03:30 pm »
wow all you did was just copy this
   
Anti Insult System.
Started by Doom

but do it a little different

24
Snippet Showroom / Re: Buy And Save Skin (by me)
« on: January 10, 2013, 08:35:19 pm »
[pawn]
stock Mensaje(playerid, color, const text [ ])//i fixed this
{
   new string[128];//you dont even need 256 thats to high for a message function
   format(string,128, "Private Message >> %s",text);
   SendClientMessage(playerid,color,string);
   return 1;
}
[/pawn]

25
ShowRoom (pawn) / GCS a.2 with VCMD
« on: January 09, 2013, 08:02:52 pm »
GCS

http://www35.zippyshare.com/v/40717977/file.html

Hello VC:MP this is the second part of GCS with couple more scripts explaining VCMD and i have created something new same as this example will show you.

[pawn]
if(strcmp(cmdtext,"", true) == 0)
[/pawn]

but mine is a little more like this

[pawn]
vcmp(cmdtext,"", true)
[/pawn]

when you are scripting and you have to do

[pawn]
if(strcmp(cmdtext,"", true) == 0)

else if(strcmp(cmdtext,"", true) == 0)
[/pawn]

and stuff like that i have made it where ELSE is no longer needed

ether this way
[pawn]
public OnPlayerCommandText(playerid, cmdtext[])
{
vcmd_heal(playerid, cmdtext);
}

vcmd:heal(playerid,params[])
{
   new idx, vStin[128];
   vStin = strtok(params, idx);

   new Float:Health;
   GetPlayerHealth(playerid,Health);
   if(Health > 50)
   {
      SendClientMessage(playerid,0xFFFFFFAA,"Your health isn't past 50%");
   }
   else
   {
       SetPlayerHealth(playerid, 100.0);
       SendClientMessage(playerid,0xFFFFFFAA,"Your health has now been reset to 100%");
   }
   return 1;
}
[/pawn]

or this way

[pawn]
public OnPlayerCommandText(playerid, cmdtext[])
{
   vcmp(vStin,"heal",true)
   {
      new idx, vStin[128];
      vStin = strtok(params, idx);

      new Float:Health;
      GetPlayerHealth(playerid,Health);
      if(Health > 50)
      {
         SendClientMessage(playerid,0xFFFFFFAA,"Your health isn't past 50%");
      }
      else
      {
          SetPlayerHealth(playerid, 100.0);
          SendClientMessage(playerid,0xFFFFFFAA,"Your health has now been reset to 100%");
      }
       return 1;
   }
   vcmp(vStin,"heal2",true)
   {
      new idx, vStin[128];
      vStin = strtok(params, idx);

      new Float:Health;
      GetPlayerHealth(playerid,Health);
      if(Health > 50)
      {
         SendClientMessage(playerid,0xFFFFFFAA,"Your health isn't past 50%");
      }
      else
      {
          SetPlayerHealth(playerid, 100.0);
          SendClientMessage(playerid,0xFFFFFFAA,"Your health has now been reset to 100%");
      }
       return 1;
   }
}
[/pawn]

the GCS script is for any one that likes new ways to script

this script is

Newbie friendly
Pro friendly
legend friendly

doesn't matter at all

26
General Discussion / Re: 0.4 question to the community
« on: January 02, 2013, 04:06:43 pm »
What i want to bring to front is...
i goto school i study online computer games and my Professor told me this online game is sloppy you used to much code in places that don't need it and not enough in place that really need it so you guys should really talk to the SA-MP Team for some help and i can not believe this is the OFFICIAL WEBSITE and squirrel has MORE working commands then PAWNO what a shame   

27
Support / Re: need help
« on: January 02, 2013, 04:01:44 pm »
lmao

28
Videos and Screenshots / Re: VC:MP with NPCs / Bots ( NOT FAKE )
« on: December 31, 2012, 02:19:02 pm »
i believe you did it because its not impossible to do something like that soon or later falcon or max or who ever published 0.1 is going to noticed that was stupid ether way because false or true and the thing that i don't under stand is Vice City was made before San Andreas and Grand Theft Auto 4 but these 2 games seem to have way more then VC:MP why is that it makes no since to me

29
Snippet Showroom / Re: Buy weapons in all Ammu-Nation
« on: December 06, 2012, 09:15:04 pm »
nice +rep just remember all your defines, stocks, and public's

30
Snippet Showroom / Re: Buy weapons in all Ammu-Nation
« on: December 03, 2012, 12:53:47 am »
i don't under stand ( PlayerToPoint?, DecPlayerHandCash?,) where is the [ stock or public ] that goes with those

Pages: 1 [2] 3