« [GAMEMODE] DeathMatch v1.1
Basic Property System (with pickup model changing)

EK.IceFlake

  • Hero Member
  • "We are the champions my fellahs" - Sufyan/VK.SuFy
  • Posts: 1,761

Sebastian

  • VC:MP Beta Tester
  • Something like this: hga hga hga
  • Posts: 1,141
Re: Basic Property System (with pickup model changing)
« Reply #16, on April 14th, 2017, 07:24 AM »
But do we really need to use MySQL for such a System?
I see it benefic for account System, because online  stats.. But for property?  Players would better check them ingame :)

vito

  • Sr. Member
  • Posts: 405

Yankee

  • Newbie
  • Posts: 48

Sebastian

  • VC:MP Beta Tester
  • Something like this: hga hga hga
  • Posts: 1,141

Yankee

  • Newbie
  • Posts: 48
Re: Basic Property System (with pickup model changing)
« Reply #20, on May 28th, 2017, 08:28 AM »
Quote from sseebbyy on May 27th, 2017, 10:26 AM
Quote from Yankee on May 27th, 2017, 09:29 AM
Help me it gives error on cmd : AN ERROR HAS OCCURED [the index 'command' does not exist
Use this format for your function:
Code: [Select]
onPlayerCommand( player, command, text )

Then (by the instalation guide of this system) you will have this as a top line in the function:
Code: [Select]
local cmd = command.tolower();
Thanks mate like +1

Derwaish.

  • Jr. Member
  • Loading.....
  • Posts: 76

Razor.

  • Jr. Member
  • Posts: 95

Derwaish.

  • Jr. Member
  • Loading.....
  • Posts: 76

Razor.

  • Jr. Member
  • Posts: 95
Re: Basic Property System (with pickup model changing)
« Reply #24, on June 8th, 2017, 03:24 PM »


Code: [Select]
function onPickupPickedUp( player, pickup )
{
if ( pickup.Model == 407 )
{
if( prop[ pickup.ID ] != null )
{
local   id = pickup.ID,
propid = prop[ id ].ID,
name = prop[ id ].Name,
price = prop[ id ].Price,
owner = prop[ id ].Owner,
sharing = prop[ id ].Sharing,
description = prop[ id ].Description;
 
C_MSG2( "ID:[#FFFFFF] " + propid + " [#FFFF00]Nome:[#FFFFFF] " + name + " [#FFFF00]Preco:[#FFFFFF] " + price + "[#FFFF00].", player );
}
}
if ( pickup.Model == 406 )
{
if( prop[ pickup.ID ] != null )
{
local   id = pickup.ID,
propid = prop[ id ].ID,
name = prop[ id ].Name,
price = prop[ id ].Price,
owner = prop[ id ].Owner,
sharing = prop[ id ].Sharing,
description = prop[ id ].Description;
                     
C_MSG( "[#CAE1FF]ID:[#FFFFFF] " + propid + " [#CAE1FF]Nome:[#FFFFFF] " + name + " [#CAE1FF]Dono:[#FFFFFF] " + owner + " [#CAE1FF]Compartilhada com:[#FFFFFF] " + sharing + "[#CAE1FF].", player );
}
}
}

Sebastian

  • VC:MP Beta Tester
  • Something like this: hga hga hga
  • Posts: 1,141

Razor.

  • Jr. Member
  • Posts: 95

Sebastian

  • VC:MP Beta Tester
  • Something like this: hga hga hga
  • Posts: 1,141

Cool

  • Hero Member
  • Posts: 719

Sebastian

  • VC:MP Beta Tester
  • Something like this: hga hga hga
  • Posts: 1,141

« [GAMEMODE] DeathMatch v1.1