Vice City Multiplayer

VC:MP 0.3 => mIRC/pawn Scripting => ShowRoom (pawn) => Topic started by: Tamas on August 12, 2012, 09:26:23 pm

Title: GUPS 1.17
Post by: Tamas on August 12, 2012, 09:26:23 pm
General Use Pawn Script
Note: Check the Changelog file for more information.

Features:


Thanks to the following peoples:



Current Version: 1.17
Mirror#1: Download (http://dfiles.eu/files/xr1fs5hia?redirect)
Title: Re: GUPS 1.16
Post by: aledark24 on August 17, 2012, 12:16:00 am
gups 1.1 contain many bugs example /c register

but this is the solution
[pawn]
      if ( strcmp( cmd, "registrar", true ) == 0 )
   {
      tmp = strtok( cmdtext, idx );
       if ( !strlen( tmp ) ) SendClientMessage( playerid, COLOR_GREEN, "Escribe: /c registrar [clave]" );
       else if ( IsLoggedIn( playerid ) ) SendClientMessage( playerid, RED, "Error: Ya estas registrado." );
        else if (PlayerLevel(playerid) >= 1) SendClientMessage(playerid, RED,"Este Nick-name ya esta registrado");// here is the solution FOR NOT register in the same count
       else
      {
         format( file, sizeof( file ), USERS_FILE, gPlayers[ playerid ] );
          new string[ 24 ], IP[ 24 ], szMsg[ 128 ];
         GetPlayerIp( playerid, IP, 24 );
         format( string, 24, "%s", IP );
         dini_Create( file );
         dini_Set( file, "Password", encrypt( tmp ) );
         dini_Set( file, "Login", "1" );
         dini_Set( file, "Bank", "0" );
         dini_Set( file, "Cash", "0" );
         dini_Set( file, "Level", "1" );
         dini_Set( file, "Stats", "1" );
         dini_Set( file, "Ip", string );
            GameTextForPlayer( playerid, "Registro Completo");
         SendClientMessage( playerid, COLOR_GREEN, "Te has registrado exitosamente." );
         format( szMsg, sizeof( szMsg ), "Tu clave:[ %s ] Tu Nivel: [ 1 ]", tmp, IP );
         SendClientMessage( playerid, RED, szMsg );
                SendClientMessage( playerid, COLOR_GREEN, "Para ver los comandos usa !Comandos" );
         PlayerInfo[ playerid ][ Logged ] = 1;
         PlayerInfo[ playerid ][ Level ] = 1;
         PlayerInfo[ playerid ][ Stats ] = 1;
      }
      return 1;
   }[/pawn]
Sorry my languaje is spanish xD but i show the bug xD
Title: Re: GUPS 1.16
Post by: Tamas on September 23, 2012, 02:27:58 am
What do you mean by many bugs?
Be more specific.
Title: Re: GUPS 1.16
Post by: omarlin97 on September 23, 2012, 04:13:55 am
gups 1.1 contain many bugs example /c register

but this is the solution
[pawn]
      if ( strcmp( cmd, "registrar", true ) == 0 )
   {
      tmp = strtok( cmdtext, idx );
       if ( !strlen( tmp ) ) SendClientMessage( playerid, COLOR_GREEN, "Escribe: /c registrar [clave]" );
       else if ( IsLoggedIn( playerid ) ) SendClientMessage( playerid, RED, "Error: Ya estas registrado." );
        else if (PlayerLevel(playerid) >= 1) SendClientMessage(playerid, RED,"Este Nick-name ya esta registrado");// here is the solution FOR NOT register in the same count
       else
      {
         format( file, sizeof( file ), USERS_FILE, gPlayers[ playerid ] );
          new string[ 24 ], IP[ 24 ], szMsg[ 128 ];
         GetPlayerIp( playerid, IP, 24 );
         format( string, 24, "%s", IP );
         dini_Create( file );
         dini_Set( file, "Password", encrypt( tmp ) );
         dini_Set( file, "Login", "1" );
         dini_Set( file, "Bank", "0" );
         dini_Set( file, "Cash", "0" );
         dini_Set( file, "Level", "1" );
         dini_Set( file, "Stats", "1" );
         dini_Set( file, "Ip", string );
            GameTextForPlayer( playerid, "Registro Completo");
         SendClientMessage( playerid, COLOR_GREEN, "Te has registrado exitosamente." );
         format( szMsg, sizeof( szMsg ), "Tu clave:[ %s ] Tu Nivel: [ 1 ]", tmp, IP );
         SendClientMessage( playerid, RED, szMsg );
                SendClientMessage( playerid, COLOR_GREEN, "Para ver los comandos usa !Comandos" );
         PlayerInfo[ playerid ][ Logged ] = 1;
         PlayerInfo[ playerid ][ Level ] = 1;
         PlayerInfo[ playerid ][ Stats ] = 1;
      }
      return 1;
   }[/pawn]
Sorry my languaje is spanish xD but i show the bug xD



alegay lo que ballas a postear ponlo en ingles-
Title: Re: GUPS 1.16
Post by: aledark24 on September 26, 2012, 06:50:11 pm
What do you mean by many bugs?
Be more specific.


Example in the register i register

/c register aledark24 "password"

and exit of the game and example you enter whit my same name and put /c login "password"

show the password is incorrect right?? so you put whit my same name aledark24 /c login "you password" and delete my account and change my password... second bug !givecaSH "name amount" not give cash to another player ......

and /c setmoney "name" ammount example /c setmoney tamas 10000 and you have in your hand 56565444 delete you hand cash and put the another "10000"      and you lose you own money ....


sorry my english  ;D ;D ;D ;D
Title: Re: GUPS 1.16
Post by: sseebbyy on September 26, 2012, 07:58:38 pm
and /c setmoney "name" ammount example /c setmoney tamas 10000 and you have in your hand 56565444 delete you hand cash and put the another "10000"      and you lose you own money ....

Set money not egal with Give money !

/c setmoney is used to set the money of a player not to give.
Title: Re: GUPS 1.16
Post by: Javpac on September 28, 2012, 05:43:10 am
What do you mean by many bugs?
Be more specific.


Example in the register i register

/c register aledark24 "password"

and exit of the game and example you enter whit my same name and put /c login "password"

show the password is incorrect right?? so you put whit my same name aledark24 /c login "you password" and delete my account and change my password... second bug !givecaSH "name amount" not give cash to another player ......

and /c setmoney "name" ammount example /c setmoney tamas 10000 and you have in your hand 56565444 delete you hand cash and put the another "10000"      and you lose you own money ....


sorry my english  ;D ;D ;D ;D

Explicacion en español /c setmoney se usa para setear tu dinero a 0 y darte el monto que asignaste, /c givemoney se usa para aumentar del el dinero que ya tenia + el que tu asignaste.
Title: Re: GUPS 1.16
Post by: DilsonTB on September 28, 2012, 10:26:04 pm
What do you mean by many bugs?
Be more specific.


Example in the register i register

/c register aledark24 "password"

and exit of the game and example you enter whit my same name and put /c login "password"

show the password is incorrect right?? so you put whit my same name aledark24 /c login "you password" and delete my account and change my password... second bug !givecaSH "name amount" not give cash to another player ......

and /c setmoney "name" ammount example /c setmoney tamas 10000 and you have in your hand 56565444 delete you hand cash and put the another "10000"      and you lose you own money ....


sorry my english  ;D ;D ;D ;D

Explicacion en español /c setmoney se usa para setear tu dinero a 0 y darte el monto que asignaste, /c givemoney se usa para aumentar del el dinero que ya tenia + el que tu asignaste.

Exacto, no hay mejor explicacion
Title: Re: GUPS 1.16
Post by: [KB]ViceMania on November 28, 2012, 12:37:32 am
man in GUPS 1.16 /c register <password> = ini fail name (player name) primer player name is *BMX* so for this *&+^%$#@ = server crash.. pleace repair.

SORRY FOR MY BAD ENGLISH :D
Title: Re: GUPS 1.16
Post by: sseebbyy on December 02, 2012, 01:01:40 pm
man in GUPS 1.16 /c register <password> = ini fail name (player name) primer player name is *BMX* so for this *&+^%$#@ = server crash.. pleace repair.

SORRY FOR MY BAD ENGLISH :D

Is nothing wrong there ! The password of a registered player will be encrypted, to can't be seem by an administrator.

A password is something private ! Do not try to remove the encryption !!!
Title: Re: GUPS 1.16
Post by: aledark24 on December 02, 2012, 03:52:13 pm
man in GUPS 1.16 /c register <password> = ini fail name (player name) primer player name is *BMX* so for this *&+^%$#@ = server crash.. pleace repair.

SORRY FOR MY BAD ENGLISH :D

Is nothing wrong there ! The password of a registered player will be encrypted, to can't be seem by an administrator.

A password is something private ! Do not try to remove the encryption !!!
he say the problem whit gups is no contain for disconnect players whit simbols example #@%&*?!"++)/-:' ;,
Title: Re: GUPS 1.16
Post by: [KB]ViceMania on December 08, 2012, 05:30:18 pm
he say the problem whit gups is no contain for disconnect players whit simbols example #@%&*?!"++)/-:' ;,


YES


why no make primer, AUTO KICK player names #@%$*?!...
Title: Re: GUPS 1.16
Post by: vice on December 08, 2012, 11:03:58 pm
Hmm, what's the deal with adding new vehicles?
I'm using /c addveh but it doesn't seem to add any new vehicles.
Any help?
Title: Re: GUPS 1.16
Post by: aledark24 on December 09, 2012, 01:11:02 am
Addveh is bugged !!! Sorry
Title: Re: GUPS 1.16
Post by: vice on December 09, 2012, 06:49:14 pm
Addveh is bugged !!! Sorry
Oh crap.
Does anybody know how to still add vehicles into the server and also syncing them with the !buycar / ownership system?
I would really appreciate it!
Title: Re: GUPS 1.16
Post by: vice on December 09, 2012, 09:10:22 pm
I just got told that Warchief has a fully functional vehicle system.
I just can't seem to find it through the search option.
Any help?
Title: Re: GUPS 1.16
Post by: aledark24 on December 09, 2012, 09:57:22 pm
For add vehicles go into the vehicle and go to another location and type /s and go into the folder of you install vc and find the archive vcmp coords txt and copy into folder
of the server in vehicles and vehicles.ini example
236 354566 -7785768 642245 75457  3 3
Follow the next number of the folder example
1=236 354566 -7785768 642245 75457 3 3
2=130 465364 536475 464647 646575 0 0
3=169 75467 -864335 -535365 224446 8 17

sorry for my bad english
Title: Re: GUPS 1.16
Post by: vice on December 10, 2012, 11:40:24 pm
@aledark24 yes I know but that doesn't sync the vehicles with the buy script / sunshine autos script.
Title: Re: GUPS 1.16
Post by: kpwaseem on December 11, 2012, 10:56:42 pm
 >:( the server is not shown on inter net list why help help
Title: Re: GUPS 1.16
Post by: aledark24 on December 12, 2012, 05:13:45 am
>:( the server is not shown on inter net list why help help
you need put in the folder of the server the archive announxe.exe
find this archive in gm fight city or warchief copy and paste in you folder of
 the server gups
Title: Re: GUPS 1.16
Post by: [KB]ViceMania on December 18, 2012, 03:40:07 pm
If crashed server the registration please see this: http://forum.vicecitymultiplayer.com/index.php?topic=5420.0

This is due to crash nick/names in game "[email protected]#$%^&*()_+". I hope I helped you. :P

SORRY FOR MY BAD ENGLISH!
Title: Re: GUPS 1.16
Post by: dynavolt71 on December 21, 2012, 12:39:45 pm
>:( the server is not shown on inter net list why help help
PORT FORWAD problem
Title: Re: GUPS 1.16
Post by: PekTuan on February 04, 2013, 08:57:39 am
Please, utilice 4shared or Mediafire im not downloader Gups 1.16

-Sorry my bad English!-
Title: Re: GUPS 1.16
Post by: mrockxkingbutt on February 04, 2013, 02:42:44 pm
i find out that how to fix bugs
i fixed
vehicle
and properties bug
i can spawn cars any time

thanks to aledark
and sseebby

now i am fixing add veh
Title: Re: GUPS 1.16
Post by: aledark24 on February 05, 2013, 05:53:49 pm
i find out that how to fix bugs
i fixed
vehicle
and properties bug
i can spawn cars any time

thanks to aledark
and sseebby

now i am fixing add veh
addveh is fixed... only you can't download -_-
http://forum.vicecitymultiplayer.com/index.php?topic=5031.0 (http://forum.vicecitymultiplayer.com/index.php?topic=5031.0)
Title: Re: GUPS 1.16
Post by: VS on February 16, 2013, 02:56:21 pm
does this script has the vehicle names in it?
Title: Re: GUPS 1.16
Post by: dynavolt71 on February 16, 2013, 03:41:37 pm
does this script has the vehicle names in it?
I think no (cause i use GUPS for some times) try veh name by [saint]
Title: Re: GUPS 1.16
Post by: USA.Ghost on February 23, 2013, 01:40:07 pm
Addveh is bugged !!! Sorry
Oh crap.
Does anybody know how to still add vehicles into the server and also syncing them with the !buycar / ownership system?
I would really appreciate it!

i know
Title: Re: GUPS 1.16
Post by: Tamas on April 24, 2013, 08:15:23 pm
Addveh is just a simple command to add a temporary vehicle, it isn't bugged.
You have to manually edit the necessary files to add a vehicle which will be synced with the system.
Title: Re: GUPS 1.16
Post by: sseebbyy on April 24, 2013, 09:28:15 pm
Addveh is just a simple command to add a temporary vehicle, it isn't bugged.
You have to manually edit the necessary files to add a vehicle which will be synced with the system.

I don't know if you remember, but CreateVehicle isn't working properly, you have to reconnect to the server to see that vehicle. And about AddStaticVehicle... it can be used only in OnGameModeInit.
Title: Re: GUPS 1.16
Post by: dynavolt71 on April 25, 2013, 01:39:39 am
In wiki createvehicle still bugged
Title: Re: GUPS 1.16
Post by: sseebbyy on April 25, 2013, 02:51:52 pm
In wiki createvehicle still bugged

'cause it is.

You have to reconnect to the server to can see that vehicle.(created with CreateVehicle function)

+ if you create a vehicle, no one will see that vehicle without reconnecting, but new players that are joining to the server will see it, and when they will enter in, you will see just his tag-name how its moving with big speed.
Title: Re: GUPS 1.16
Post by: aledark24 on April 26, 2013, 03:14:34 am
i think,better is use /s on foot or in a vehicle
and copy the location and change the model of vehicle

i think only is 50 different vehicles


xD i dont know but if you.have many id of.vehicles give crash and not connect to the server...

if you not understand my english
LEARN SPANISH!!!
Title: Re: GUPS 1.16
Post by: dynavolt71 on April 26, 2013, 08:51:09 am
i think,better is use /s on foot or in a vehicle
and copy the location and change the model of vehicle

i think only is 50 different vehicles


xD i dont know but if you.have many id of.vehicles give crash and not connect to the server...

if you not understand my english
LEARN SPANISH!!!
English Are Public should you learn english.
Title: Re: GUPS 1.16
Post by: MatheuS on April 26, 2013, 04:58:28 pm
i think,better is use /s on foot or in a vehicle
and copy the location and change the model of vehicle

i think only is 50 different vehicles


xD i dont know but if you.have many id of.vehicles give crash and not connect to the server...

if you not understand my english
LEARN SPANISH!!!
English Are Public should you learn english.

 ;D ;D ;D
Title: Re: GUPS 1.17
Post by: Fire_Head on April 28, 2013, 03:01:23 pm
:D
Title: Re: GUPS 1.17
Post by: aledark24 on April 28, 2013, 03:35:12 pm
tamas you fixed many bugs whit this version?
i think... because gups 1.16
1 not have antinick.crassher
2 register system and login system is bugged
3 setmoney not have level in commands.ini
and only set the money not increase
4 the property system show the same to all example if i put.pickup of guns say name owner...
5 the property.heal system not work
6 some locations not working well
7  if use !cash tamas showme my own cash
8 bank system bugged if use !deposit 11512383838393  and not have money in hand give to you. money....(this is a pawn failed) many scripts
9 cars not changed.... need update of location of vehicles
10 not close the doors whit !lockcar
11 if i added a prop need restart again and again.. for showme the pickup...
12 i forget more bugs....
i am online in my cellphone. so only i think you need give more details...
if you not understand my english not is my problem xD
Title: Re: GUPS 1.17
Post by: sseebbyy on April 28, 2013, 05:31:43 pm
if you not understand my english not is my problem xD

Isn't ? It is.

You can't tell us to learn spanish to can understand you since the international language is English, so you should learn English.
Title: Re: GUPS 1.17
Post by: stormeus on April 28, 2013, 09:06:12 pm
if you not understand my english not is my problem xD

Prior to the forum attack, the rules were that you had to speak English. I'd highly advise you speak English.
Title: Re: GUPS 1.17
Post by: dynavolt71 on April 29, 2013, 02:36:07 am
Does In 1.17 "!addveh" Fixed ?
Title: Re: GUPS 1.17
Post by: Tamas on April 29, 2013, 12:52:43 pm
I'd not recommend you to create any vehicle, since it's still bugged.
Either move to the squirrel version or wait till 0.4 will be released.

EDIT: Also don't forget to check the changelog file, it has every info about fixes/updates.

aledark24: I can not really understand most of the things you mentioned.
There is no such thing as "anti nick crasher" it makes no sense.
Register and login system works fine.
There is a difference between set and give money. (no further explanation)
Location system works fine.
"cars not changed.... need update of location of vehicles" -> it makes no sense, so I can't really do anything with that.
"if use !cash tamas showme my own cash" -> that is completly normal, you can not check other people's financial status.
"if i added a prop need restart again and again.. for showme the pickup..." -> not a scripting related bug.


I'm suggesting you to check the source before you complain.
Title: Re: GUPS 1.17
Post by: aledark24 on April 29, 2013, 02:08:52 pm
and in gups 1.16 givecash not working

sorry but not have internet in my pc,so i think you need to say the updated here xD
my cellphone have winrar but i can't not read anithing pwn or txt...
Title: Re: GUPS 1.17
Post by: Tamas on April 29, 2013, 06:41:36 pm
I wasn't talking about the updated version (and again check the changelog file for more information)
You keep talking about bugs which never really existed, once I sort them out you bring up other stuffs.

PM me your exact problem with a decent explanation of the issue.
EDIT: Just re-tested the !givecash command, seems everything is fine.
Title: Re: GUPS 1.17
Post by: MatheuS on April 29, 2013, 07:02:50 pm
I wasn't talking about the updated version (and again check the changelog file for more information)
You keep talking about bugs which never really existed, once I sort them out you bring up other stuffs.

PM me your exact problem with a decent explanation of the issue.
EDIT: Just re-tested the !givecash command, seems everything is fine.

tamas like, I'm in the game with the name [LBR_R] BadBoy. ai if I do the !givecash [LBR_R] Badboy. and the value of it to me the value I own did for me, is to fix this bug?
Title: Re: GUPS 1.17
Post by: Tamas on April 29, 2013, 07:25:43 pm
You can not give yourself your own money.
Title: Re: GUPS 1.17
Post by: aledark24 on April 30, 2013, 03:21:29 pm
You can not give yourself your own money.
he say...
if in the game example my name is aledark and you tamas i put
!givecash money playerid or !givecash playerid money i not remember how is you.command but not send money to any player same unknown player and if give cash some times give to my self...
this bug is (the bad define of tmp tmp2 but i know how fixed.... i put latet here... because i connected in my cellphone...
another bug is the ban or banip give crash to all some times and if restart the server continue...
......
i think if you "update" the server need fixed many bugs
note: great you invalidnick in command register but the \ not is in the stock you need put \\ for prevent crash whit ale\dark
Title: Re: GUPS 1.17
Post by: Tamas on May 01, 2013, 10:46:13 am
I don't see any problems here, tested it and all went fine.
Edit: else if ( strcmp( cmd, "banip", true ) == 0 ) // No banip function in the current pawno release, so we must wait

The comment is there for a reason.

note: great you invalidnick in command register but the \ not is in the stock you need put \\ for prevent crash whit ale\dark

[pawn]      strfind( player, "\47", true ) != -1 ||
      strfind( player, ":", true ) != -1 ||
      strfind( player, "?", true ) != -1 ||
      strfind( player, "*", true ) != -1 ||
      strfind( player, "|", true ) != -1 ||
      strfind( player, ">", true ) != -1 ||
      strfind( player, "<", true ) != -1 ||
      strfind( player, "\92", true ) != -1 ||
      strfind( player, "\34", true ) != -1 )[/pawn]

http://www.asciitable.com/index/asciifull.gif (http://www.asciitable.com/index/asciifull.gif)
Did you even check this function?
Please inform yourself next time you find "another bug"
Just to clear things out "/" and "\" IS there.
Title: Re: GUPS 1.17
Post by: aledark24 on May 01, 2013, 03:24:17 pm
missing ¿¡£€$¥§#%&+":;
in my server another day enter a stupid whit #%ERRORNAME%# AND CRASH MY SERVER  :-(
Title: Re: GUPS 1.17
Post by: Tamas on May 01, 2013, 05:16:12 pm
I don't think that will cause any problems. I did register such a nick to test this out, nothing really happened.

http://i.imgur.com/KldwCIc.jpg (http://i.imgur.com/KldwCIc.jpg)
Title: Re: GUPS 1.17
Post by: stormeus on May 01, 2013, 11:05:43 pm
missing ¿¡£€$¥§#%&+":;

VC:MP doesn't even allow half of those symbols to be used, and translates them into underscores...
Title: Re: GUPS 1.17
Post by: Jayanth on September 06, 2013, 06:34:26 pm
link broken pls fix it
Title: Re: GUPS 1.17
Post by: mrockxkingbutt on February 21, 2014, 11:24:26 pm
GUPS . Fixing Getcar Bug And Without Hidding Place When You Exit From Vehicle!

Such Place sWe Get Inside In VCMP

If We Add

removeplayerfromvehicle
setvehicletorespawn

getcar will be fixed but give some bugs behind

when you get into a place with a vehicle . and exit that place texture will disappear

. here is a solution!

Code: [Select]
new VehicleCMD;
in onplayerexitvehicle

Code: [Select]
if(VehicleCMD == 1) {
RemovePlayerFromVehicle(playerid);
SetVehicleToRespawn(vehicleid);
}


Setting it manually!

Code: [Select]
else if (strcmp(cmd, "vehiclecmd", true) == 0) {
tmp = strtok(cmdtext, idx);
if(PlayerInfo[playerid][Logged] != 1) SendClientMessage(playerid, COLOR_RED, "You need to login first!");
else if(!IsPlayerCommandLevel(playerid,cmd)) SendClientMessage(playerid, COLOR_RED, "You don't have access to use this command!");
else if (!strlen(tmp)) SendClientMessage(playerid,COLOR_GREEN,"USAGE: /c vehiclecmd [on/off]");
else {
if(strcmp(tmp, "on", true) == 0) {
VehicleCMD = 1;

dini_Set("/Configuration/Server.ini","VehicleCMD", "1");

SendClientMessage(playerid,COLOR_GREEN,"Vehicle Commanding Is Active");
}
else if(strcmp(tmp, "off", true) == 0) {
VehicleCMD = 0;

dini_Set("/Configuration/Server.ini","VehicleCMD", "0");

SendClientMessage(playerid,COLOR_GREEN,"Vehicle Commanding Is InActive");
}
else SendClientMessage(playerid,COLOR_GREEN,"Syntax Error! USAGE: /c vehiclecmd [on/off]");
}
return 1;
}

Code: [Select]
public SetServerConfiguration()
{
new hour[100],minute[100],phandling[100],flyingcars[100],vehiclecmd[100],driveby[100],fastswitch[100],jumpswitch[100],friendlyfire[100],playermarkers[100],dfhelikill[100],dfordriveby[100];
new cpcont[3][128],clcont[3][128],pspcont[3][128];
format(file, sizeof(file), "/Configuration/Server.ini", "Server");
hour = dini_Get(file, "Hour");
minute = dini_Get(file, "Minute");
phandling = dini_Get(file, "PerfectHandling");
flyingcars = dini_Get(file, "Flyingcars");
driveby = dini_Get(file, "Driveby");
fastswitch = dini_Get(file, "FastSwitch");
jumpswitch = dini_Get(file, "Jumpswitch");
friendlyfire = dini_Get(file, "FriendFire");
playermarkers = dini_Get(file, "ShowPlayerMarkers");
dfhelikill = dini_Get(file, "Drownforhelikill");
dfordriveby = dini_Get(file, "Drownfordriveby");
vehiclecmd = dini_Get(file, "VehicleCMD"); // getting vehicle status

split(dini_Get("/Configuration/Server.ini","CameraPos"), cpcont, ' ');
SetCameraPos(floatstr(cpcont[0]),floatstr(cpcont[1]),floatstr(cpcont[2]));

split(dini_Get("/Configuration/Server.ini","CameraLook"), clcont, ' ');
SetCameraLookAt(floatstr(clcont[0]),floatstr(clcont[1]),floatstr(clcont[2]));

split(dini_Get("/Configuration/Server.ini","PlayerStartPos"), pspcont, ' ');
SetPlayerStartPos(floatstr(pspcont[0]),floatstr(pspcont[1]),floatstr(pspcont[2]));

SetWorldTime(strval(hour),strval(minute));
ServerInfo[0][Drownforhelikill] = StrToInt(dfhelikill);
ServerInfo[0][Drownfordriveby] = StrToInt(dfordriveby);
ShowPlayerMarkers(StrToInt(playermarkers));

if (StrToInt(friendlyfire) == 1) SetPlayerFriendlyFire(true);
if (StrToInt(friendlyfire) == 0) SetPlayerFriendlyFire(false);
if (StrToInt(phandling) == 1) PerfectHandling(1);
if (StrToInt(flyingcars) == 1) Flyingcars(1);
if (StrToInt(driveby) == 1) DisableDriveby(255,1);
if (StrToInt(fastswitch) == 1) FastSwitch(1);
if (StrToInt(jumpswitch) == 1) Jumpswitch(1);
if(StrToInt(vehiclecmd) == 1) VehicleCMD = 1; // this is it
}

with this an admin can manually set setvehicletorespawn , removeplayerfromvehicle/ to on or off. to prevent that bug of such places

+

tamas you fixed many bugs whit this version?
i think... because gups 1.16
1 not have antinick.crassher
2 register system and login system is bugged
3 setmoney not have level in commands.ini
and only set the money not increase
4 the property system show the same to all example if i put.pickup of guns say name owner...5 the property.heal system not work
6 some locations not working well
7  if use !cash tamas showme my own cash
8 bank system bugged if use !deposit 11512383838393  and not have money in hand give to you. money....(this is a pawn failed) many scripts
9 cars not changed.... need update of location of vehicles
10 not close the doors whit !lockcar
11 if i added a prop need restart again and again.. for showme the pickup...
12 i forget more bugs....
i am online in my cellphone. so only i think you need give more details...
if you not understand my english not is my problem xD

aledark this can be fix . by a filtering system of pickups and props

means if model id 407, 406 it will goes to prop
if all others that will be pickups
Title: Re: GUPS 1.17
Post by: sseebbyy on February 22, 2014, 01:31:20 am
OFF: We should mark the 21.feb.2014 date because mrockxkingbutt started to write normal !
Do not take it personally, but if you will write like normal people, we will take you more seriously. ;)

By the way, use Edit button in cases like this one, instead of double-posting.
Title: Re: GUPS 1.17
Post by: mrockxkingbutt on February 22, 2014, 01:40:13 am
To Fix Prop System That Will Be Compatable With Pickups

I Recommand This.  Follow The Steps CareFUlly!

This!

Quote
public OnPickedUp(pickupid, playerid)
{ // here is your all pickups and ids you uses
if(pickupid ==1) {
//blalala  // put a new code of prop here . gups
}
else {
   new szMsg[ 128 ];
   
   if ( strcmp( PickupInfo[ pickupid ][ pOwner ], "none", true ) == 0)
 {
      format( szMsg, sizeof( szMsg ), "ID:[ %d ] Name:[ %s ] Cost:[ $%d ]", pickupid, PickupInfo[ pickupid ][ pName ], PickupInfo[ pickupid ][ pPrice ] );
      SendClientMessage( playerid, COLOR_GREEN, szMsg );
   }
   if ( strcmp( PickupInfo[ pickupid ][ pShare ], "none", true ) == 0 )
   {
      format( szMsg, sizeof( szMsg ), "ID:[ %d ] Name:[ %s ] Owner:[ %s ]", pickupid, PickupInfo[ pickupid ][ pName ], PickupInfo[ pickupid ][ pOwner ] );
      SendClientMessage( playerid, COLOR_GREEN, szMsg );
   }
   else
   {
      format( szMsg, sizeof( szMsg ), "ID:[ %d ] Name:[ %s ] Owner:[ %s ] Shared:[ %s ]", pickupid, PickupInfo[ pickupid ][ pName ], PickupInfo[ pickupid ][ pOwner ], PickupInfo[ pickupid ][ pShare ] );
      SendClientMessage( playerid, COLOR_GREEN, szMsg );
 }   
   }
return 1;
}

remember if your pickup ids are upto 70. you should goto prop pickups file. pickups.ini
add set its id to 71,72,73 and more then it will working fine!

thats all!

also. ++

Add This In OnPlayerEnterVehicle

Quote
new szMsg[123];
               new id, Float:hpp;
               id = GetPlayerVehicleID( playerid );
               GetVehicleHealth( GetPlayerVehicleID( playerid ), hpp );
               hpp = ( hpp / 1000.00 ) * 100;

            format( szMsg, sizeof( szMsg ), "ID:[ %d ] Name:[ %s ] Health:[ %.0f% ] Owner:[ %s ] Share:[ %s ] Price:[ $%d ]", id, VehicleInfo[ id ][ Name ], hp, VehicleInfo[ id ][ Owner ], VehicleInfo[ id ][ Share ], VehicleInfo[ id ][ Price ] );
            SendClientMessage( playerid, COLOR_GREEN, szMsg );

to let peoples know the vehicle Informations!

as i see in gups new version dont have onplayernetervehicle and exit .. so you need to add them!
Title: Re: GUPS 1.17
Post by: mrockxkingbutt on February 23, 2014, 02:09:41 pm
Please Can You Tell How To Know What Is Our Server IP?????????

First!
Small Your Writting We Are Not Blind/ Weak EyeSight. //

Use www.whatismyip.com

copy ip from there. paste it like this Ip:port

ex . 192.314.25.321:5194

after having port forward!

here u go!
Title: Re: GUPS 1.17
Post by: Omair on February 23, 2014, 04:17:02 pm
i did but it says retriving info i tried this for 1 hour while vcmp-svr was running
Title: Re: GUPS 1.17
Post by: dynavolt71 on February 23, 2014, 04:41:33 pm
Please Can You Tell How To Know What Is Our Server IP?????????
127.0.0.1:5192 it is local host
+do not set your font to 64 or more
Title: Re: GUPS 1.17
Post by: mrockxkingbutt on February 24, 2014, 07:53:17 am
Please Can You Tell How To Know What Is Our Server IP?????????
127.0.0.1:5192 it is local host
+do not set your font to 64 or more

absolutely!
Title: Re: GUPS 1.17
Post by: Omair on February 25, 2014, 04:52:11 pm
Guys do we have to port forward first before playing in our own server? Is it MUST
Title: Re: GUPS 1.17
Post by: Omair on February 25, 2014, 04:55:15 pm
Yes i know how to add more vehicles into the server
Just go to scriptfiles\Vehicles\list.ini and add vehicles of your own desire
Title: Re: GUPS 1.17
Post by: mrockxkingbutt on February 25, 2014, 08:05:03 pm
Yes i know how to add more vehicles into the server
Just go to scriptfiles\Vehicles\list.ini and add vehicles of your own desire
everyone knows. that. but

there is an other way. AddStaticVehicle(modelid, float:w , float:x, float:y, float:z. color1,color2);

in ongamemode init

Vehicles/List.ini

is only in GUPs Based Scripts Not Others!

So Its The Way To Add It More Eazyly!
Title: Re: GUPS 1.17
Post by: Omair on February 26, 2014, 08:54:55 am
ok but,
do we have to port forward first before playing in our own server? Is it MUST?
Title: Re: GUPS 1.17
Post by: Omair on February 26, 2014, 08:56:53 am
Please TELL??
Title: Re: GUPS 1.17
Post by: Omair on February 26, 2014, 09:01:19 am
What is the script for sea sparrow and hunter????????????????????????????????????????????????????????????????????????
Title: Re: GUPS 1.17
Post by: dynavolt71 on February 26, 2014, 04:03:31 pm
What is the script for sea sparrow and hunter????????????????????????????????????????????????????????????????????????
Please TELL??
Please TELL??

You just wait 2 Hour to waiting reply ?
Stop Multi post. Edit Button May usefull
Title: Re: GUPS 1.17
Post by: NeskWriter on February 26, 2014, 04:22:35 pm
What is the script for sea sparrow and hunter????????????????????????????????????????????????????????????????????????
Please TELL??
Please TELL??

You just wait 2 Hour to waiting reply ?
Stop Multi post. Edit Button May usefull

Do you really give a fuck on how many times does he post replies? I am sure it's what admins/moders have to do. Don't just try to be a good boy
Title: Re: GUPS 1.17
Post by: dynavolt71 on February 27, 2014, 02:40:03 pm
Not mean me to be good boy but it is annoying
Title: Re: GUPS 1.17
Post by: NeskWriter on February 27, 2014, 03:18:28 pm
Not mean me to be good boy but it is annoying

I still don't understand how the fuck can it annoy
Title: Re: GUPS 1.17
Post by: Omair on February 27, 2014, 04:11:18 pm
OK,but please tell me do we have to port forward to play in the server because i didn't port forwarded and i wrote the IP of the server but it said for 1 to 5 hours that retrieving information from .......... so do i have to forward the port? ??? ???
Title: Re: GUPS 1.17
Post by: mrockxkingbutt on February 27, 2014, 05:35:42 pm
Port Forward Is Important For Showing Server In Internet List!

if your ip is like 190.168.0.10 or other

you cant port forward

buy a router or modem

if your ip is like 192.168.1.1

then use search button!

of forum or google!
Title: Re: GUPS 1.17
Post by: Omair on February 28, 2014, 10:47:24 am
I am not saying that i have to show it in the internet list i am just saying that if we didn't port forward it will not show on the favorites list ??? ?
Title: Re: GUPS 1.17
Post by: dynavolt71 on February 28, 2014, 12:05:52 pm
I am not saying that i have to show it in the internet list i am just saying that if we didn't port forward it will not show on the favorites list ??? ?
If you not port forward your server, you and another players cant see your server (in internet and aslo favorites. except it is localhost)
Title: Re: GUPS 1.17
Post by: MatheuS on February 28, 2014, 12:45:36 pm
http://forum.vicecitymultiplayer.com/index.php?board=20.0   ???
Title: Re: GUPS 1.17
Post by: Fuzzy168 on February 28, 2014, 12:54:14 pm
You guys should really stop your whining before a moderator comes here.
Title: Re: GUPS 1.17
Post by: mrockxkingbutt on February 28, 2014, 03:58:30 pm
Moderators/Admins Pls Remove The Replies That Dont Belongs To Scripting Or Not To GuPs!
Title: Re: GUPS 1.17
Post by: Omair on February 28, 2014, 05:08:51 pm
OK,thanks and we will stop now talking about port forward and bla bla bla.
Title: Re: GUPS 1.17
Post by: Omair on February 28, 2014, 05:11:20 pm
And please tell the scripts for hunter and sea sparrow
Title: Re: GUPS 1.17
Post by: mrockxkingbutt on February 28, 2014, 07:49:29 pm
check vehicle IDs. From Topic!

Quote
Preferrence For Pawn Scripting

!
Title: Re: GUPS 1.17
Post by: mrockxkingbutt on March 03, 2014, 11:09:45 pm
Add SetoWNER  Because If Peoples Use GUPS And Make Their Own Server.

Some Peoples Buy Props And Stop Playing Anymore On That Server. Then Peoples Want To Buy The Props / Vehicles

Here Is Prop Solution!

Code: [Select]
  else if ( strcmp( cmd, "setowner", true ) == 0 )
{
new plr;
    tmp = strtok( cmdtext, idx );
    plr = FindPlayerIDFromString(tmp);
if ( !IsLoggedIn( playerid ) ) SendClientMessage( playerid, COLOR_RED, "Please log-in to your account." );
else if ( !strlen( tmp ) ) SendClientMessage( playerid, COLOR_GREEN, "USAGE: /c setowner [PropertyID] [PlayerID]" );
  else if (plr == INACTIVE_PLAYER_ID) SendClientMessage(playerid,COLOR_RED,"Error: Unknown player");
else
{
        new tmp2[123]; tmp2 = strtok( cmdtext, idx );
format( file, sizeof( file ), "/Properties/owners.ini", "owners" );
dini_Set( file, tmp, gPlayers[ strval(tmp2) ] );

new owner[ 128 ]; owner = gPlayers[ strval(tmp2) ];
PickupInfo[ strval( tmp ) ][ pOwner ] = owner;

new szMsg[123];

format( szMsg, sizeof( szMsg ), "Prop [ %d ] Has Been Owned Set To :[ %s ]", PickupInfo[strval( tmp )][pId], gPlayers[strval(tmp2)]);
SendClientMessage( playerid, COLOR_GREEN, szMsg );
SendClientMessage(plr,COLOR_RED," You Earned A Prop From Admin Do !myprops TO See ");
}
return 1;
}   
   
Title: Re: GUPS 1.17
Post by: mrockxkingbutt on May 01, 2014, 05:33:11 pm
GiveCash Bug . Fixed Here Is The Code!!

Code: [Select]
    else if ( strcmp( cmd, "!givecash", true ) == 0 )
{
        new tmp2[ 256 ], plr;
tmp = strtok( cmdtext, idx ), tmp2 = strtok( cmdtext, idx ), plr = FindPlayerIDFromString( tmp );
if ( !IsLoggedIn( playerid ) ) SendClientMessage( playerid, COLOR_RED, "Please log-in to your account." );
else if ( !strlen(tmp2) ) SendClientMessage( playerid, COLOR_GREEN, "USAGE: !givecash [Nick/ID] [Amount]" );
else if (GetPlayerHandCash(gPlayers[ playerid ]) < StrToInt(tmp2) ) SendClientMessage( playerid, COLOR_GREEN, "Error: You havent got the needed money." );
else if ( plr != INACTIVE_PLAYER_ID ) SendClientMessage( playerid, COLOR_RED, "Error: Unknown player" );
else if ( !IsPlayerRegistered(gPlayers[ plr ]) ) SendClientMessage( playerid, COLOR_RED, "Error: That nick is not registered!" );
else if ( !IsNumeric(tmp2) ) SendClientMessage( playerid, COLOR_GREEN, "Error: Invalid Amount!" );
else
{
format( szMsg, sizeof( szMsg ), "You have sent:[ $%d ] to:[ %s ]",strval(tmp2), gPlayers[ playerid ] );
SendClientMessage( playerid, COLOR_GREEN, szMsg );
DecPlayerHandCash( playerid,StrToInt( tmp2 ) );
IncPlayerHandCash( plr,StrToInt( tmp2 ) );
}
return 1;
    }
Title: Re: GUPS 1.17
Post by: Str1kker on October 02, 2014, 03:27:46 pm
!getcar, !buycar , !buyprop not working
tell me solution plzz  :(