help me now
#1

How do I solve this problem


public ExtortionSBiz(bizid, money)
{
new string[256];
format(string, sizeof(string), "No-one");
if(strcmp(SBizzInfo[bizid][sbExtortion],string, true ) == 0 )
{
return 0;
}
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
new name[MAX_PLAYER_NAME];
new wstring[MAX_PLAYER_NAME];
GetPlayerName(i, name, sizeof(name));
format(string, sizeof(string), "%s", name);
strmid(wstring, string, 0, strlen(string), 255);
if(strcmp(SBizzInfo[bizid][sbExtortion] ,wstring, true ) == 0 )
{
new value = money / 100;
value = value * 10;
GivePlayerCash(i, value);
SBizz [bizid][sbTill] -= value;
}
}
}
return 1;
}



Error:

: error 017: undefined symbol "SBizz"
: warning 215: expression has no effect
: error 029: invalid expression, assumed zero
: fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply
#2

Can you send me a pm with teamviewer ID and password and ill try to help you out.
Reply
#3

Now you send
Reply
#4

id:958 588 799

pass:3175
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)