Script BUG help
#6

PHP код:
stock BuyBusiness(playeridbizid)
{
  new 
string2[256];
  new 
name[24];
  
GetPlayerName(playeridnamesizeof(name));
  
#if defined PRINT_HOUSES
    
printf("%s Bought Store ID %d"namebizid);
  
#endif
  
GivePlayerMoney(playerid, -bInfo[bizid][bCost]);
  
format(string2,sizeof(string2), BIZ_FILEbizid);
  
INI_Open(string2);
  
INI_WriteString("Name"name);
  
INI_WriteInt("Locked"0);
  
INI_Save();
  
INI_Close();
  
bInfo[bizid][bName] = name;
  
bInfo[bizid][bLocked] = 0;
  
ShowBoughtStoreMessage(playerid);
  
SetPlayerScore(playerid80000);
  
  return 
1;

but this do not get from them 80000 score and try with SetPlayerScore(playerid, -80000); and again do not get from them the score
Reply


Messages In This Thread
Script BUG help - by boyan96 - 20.04.2012, 05:38
Re: Script BUG help - by Xaviour212 - 20.04.2012, 05:41
Re: Script BUG help - by Bogdan1992 - 20.04.2012, 05:43
Re: Script BUG help - by boyan96 - 20.04.2012, 05:46
Re: Script BUG help - by Xaviour212 - 20.04.2012, 05:48
Re: Script BUG help - by boyan96 - 20.04.2012, 06:08
Re: Script BUG help - by Bogdan1992 - 20.04.2012, 06:10
Re: Script BUG help - by boyan96 - 20.04.2012, 06:16
Re: Script BUG help - by boyan96 - 20.04.2012, 07:19
Re: Script BUG help - by Marco_Valentine - 20.04.2012, 07:28

Forum Jump:


Users browsing this thread: 1 Guest(s)