Author Topic: how to add props and vehicals on gups 1.16 a  (Read 4379 times)

0 Members and 1 Guest are viewing this topic.

Offline johnx

  • Street Thug
  • *
  • Posts: 25
    • View Profile
how to add props and vehicals on gups 1.16 a
« on: October 18, 2010, 08:50:17 am »
can any one help me plz that how to add props are vehicals in vcmp server in gups  iam using gups 1.16a but i dont know how to add props plz help me...or tell me other scripts for vcmp 0.3zr2 where can i get props and iam using 0.3zr2 ok
« Last Edit: October 18, 2010, 08:52:06 am by johnx »

Offline Terminatorupgrade 2

  • Wiseguy
  • **
  • Posts: 91
  • pawno scripter
    • View Profile
Re: how to add props and vehicals on gups 1.16 a
« Reply #1 on: November 01, 2010, 12:50:31 pm »
i have that problem tooo
/c addprop  is not working in pawno here is the script

   
Quote
else if (strcmp(cmd, "addprop", true) == 0) {
       new name[500];
         tmp = strtok(cmdtext, idx), name = strtok(cmdtext, idx);
      if(PlayerInfo[playerid][Logged] != 1) SendClientMessage(playerid, COLOR_RED, "You need to login first!");
      else if(!IsPlayerCommandLevel(playerid,"addprop")) SendClientMessage(playerid, COLOR_RED, "You don't have access to use this command!");
      else if (!strlen(name)) SendClientMessage(playerid,COLOR_GREEN, "USAGE: /c addprop [Price] [Name]");
      else {
         new Float:X,Float:Y,Float:Z, szMsg[256];
         GetPlayerPos(playerid,X,Y,Z);
         AddStaticPickup(1,407,X,Y,Z);
         format(szMsg,sizeof(szMsg),"Property added! Price:[ $%s ] Name:[ %s ]",tmp,name);
         SendClientMessage(playerid, COLOR_GREEN, szMsg);
any one can fix it?

Offline Robd

  • Wiseguy
  • **
  • Posts: 67
    • View Profile
Re: how to add props and vehicals on gups 1.16 a
« Reply #2 on: November 06, 2010, 12:43:34 am »
you can add them manualy through ini files in scriptfiles directory
Hello, this is Robd from the past.
If you are seeing this I have either posted something stupid, forgotten something, started a stupid topic, or a combination of the three.

Please forgive us for this mistake.

Regards, management

Offline Terminatorupgrade 2

  • Wiseguy
  • **
  • Posts: 91
  • pawno scripter
    • View Profile
Re: how to add props and vehicals on gups 1.16 a
« Reply #3 on: November 06, 2010, 02:32:21 pm »
any idea or you can send us config.ini file for an example

Offline Robd

  • Wiseguy
  • **
  • Posts: 67
    • View Profile
Re: how to add props and vehicals on gups 1.16 a
« Reply #4 on: November 07, 2010, 02:27:49 am »
From list.ini
Code: [Select]
158=223 -810.704467773438 -212.029327392578 6.99906158447266 0 84 84//underground158=carid
223=car model
-810.704467773438 -212.029327392578 6.99906158447266=x,y,z coordinates
0=rotation
//underground=note
the // wont be seen in game at all its just so you can identify it in a way you would recognize
just insert the information in that order and you have your car added to the list
From owners.ini
Code: [Select]
158=RobdThats just lets you know who owns the car
im pretty sure u have to have an owner for each id but im not sure
From prices.ini
Code: [Select]
158=100000Same thing as owner.ini
From Share.ini
Code: [Select]
158=Robdsame as owners :) :) :) :) :) :)

that just about covers cars
ill add something about props when i get a chance
Hello, this is Robd from the past.
If you are seeing this I have either posted something stupid, forgotten something, started a stupid topic, or a combination of the three.

Please forgive us for this mistake.

Regards, management

Offline Terminatorupgrade 2

  • Wiseguy
  • **
  • Posts: 91
  • pawno scripter
    • View Profile
Re: how to add props and vehicals on gups 1.16 a
« Reply #5 on: November 07, 2010, 01:23:56 pm »
i mean Props

Offline Robd

  • Wiseguy
  • **
  • Posts: 67
    • View Profile
Re: how to add props and vehicals on gups 1.16 a
« Reply #6 on: November 24, 2010, 08:38:11 pm »
you must do basicaly the same thing

goto /scriptfiles/properties

for names.ini

1=<name>
2=<name>
etc.

for owners.ini

1=<owner>
2=<owner>
etc.

they're all the same in that directory
be sure to match the ids for each property
so if you want a mansion do this

asuming u only have the default chery popers this will be id 2
so

names.ini
2=mansion

owners.ini
2=mansionowner
not 2=cherry popers owner

make sense?

Hello, this is Robd from the past.
If you are seeing this I have either posted something stupid, forgotten something, started a stupid topic, or a combination of the three.

Please forgive us for this mistake.

Regards, management

Offline Terminatorupgrade 2

  • Wiseguy
  • **
  • Posts: 91
  • pawno scripter
    • View Profile
Re: how to add props and vehicals on gups 1.16 a
« Reply #7 on: November 25, 2010, 11:58:09 pm »
Quote
make sense?
NO 8)

Offline Robd

  • Wiseguy
  • **
  • Posts: 67
    • View Profile
Re: how to add props and vehicals on gups 1.16 a
« Reply #8 on: December 13, 2010, 11:20:38 pm »
Just replace the information in <> with what you want. I can't really make it much simpler then that.
Hello, this is Robd from the past.
If you are seeing this I have either posted something stupid, forgotten something, started a stupid topic, or a combination of the three.

Please forgive us for this mistake.

Regards, management