Author Topic: GUPS 1.17  (Read 58887 times)

0 Members and 1 Guest are viewing this topic.

Offline Omair

  • Street Thug
  • *
  • Posts: 26
    • View Profile
Re: GUPS 1.17
« Reply #75 on: February 28, 2014, 05:08:51 pm »
OK,thanks and we will stop now talking about port forward and bla bla bla.

Offline Omair

  • Street Thug
  • *
  • Posts: 26
    • View Profile
Re: GUPS 1.17
« Reply #76 on: February 28, 2014, 05:11:20 pm »
And please tell the scripts for hunter and sea sparrow

Offline mrockxkingbutt

  • Crime Boss
  • ****
  • Posts: 373
  • I AM Best Scripter And You Are Not :P
    • View Profile
Re: GUPS 1.17
« Reply #77 on: February 28, 2014, 07:49:29 pm »
check vehicle IDs. From Topic!

Quote
Preferrence For Pawn Scripting

!
My Servers Showroom!
www.jimxvcmpscripts.createaforum.com/

Quote from:  rohanaj60
i m a great script Editor

Rofl! lmao lol

Offline mrockxkingbutt

  • Crime Boss
  • ****
  • Posts: 373
  • I AM Best Scripter And You Are Not :P
    • View Profile
Re: GUPS 1.17
« Reply #78 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;
}   
   
My Servers Showroom!
www.jimxvcmpscripts.createaforum.com/

Quote from:  rohanaj60
i m a great script Editor

Rofl! lmao lol

Offline mrockxkingbutt

  • Crime Boss
  • ****
  • Posts: 373
  • I AM Best Scripter And You Are Not :P
    • View Profile
Re: GUPS 1.17
« Reply #79 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;
    }
My Servers Showroom!
www.jimxvcmpscripts.createaforum.com/

Quote from:  rohanaj60
i m a great script Editor

Rofl! lmao lol

Offline Str1kker

  • Street Thug
  • *
  • Posts: 4
    • View Profile
Re: GUPS 1.17
« Reply #80 on: October 02, 2014, 03:27:46 pm »
!getcar, !buycar , !buyprop not working
tell me solution plzz  :(