Jump to content

Symple Bank System


Vidie

Recommended Posts

teraz mam nove chyby:

.pwn(1435) : error 021: symbol already defined: "IsPlayerInRangeOfPoint"
.pwn(1436) : error 010: invalid function or declaration
.pwn(1437) : error 010: invalid function or declaration
.pwn(1439) : error 010: invalid function or declaration

riadky:

1435 IsPlayerInSphere(playerid,Float:x,Float:y,Float:z,radius){

1436 if(GetPlayerDistanceToPointEx(playerid,x,y,z) < radius){

1437 return 1;

1438 }

1439 return 0;

1440 }

Link to comment
Share on other sites

IsPlayerInSphere(playerid,Float:x,Float:y,Float:z,radius){

if(GetPlayerDistanceToPointEx(playerid,x,y,z) < radius)

}

return 1;

}

return 0;

}

tak toto je blbost protože mu nebudou sedet zavorky

 

smaž si druhou definici IsPlayerInRangeOfPoint

Link to comment
Share on other sites

zmazal som ale este mam chyby:

.pwn(1294) : error 029: invalid expression, assumed zero

.pwn(1294) : error 001: expected token: ";", but found ")"

.pwn(1294) : error 029: invalid expression, assumed zero

.pwn(1294) : fatal error 107: too many error messages on one line

 

riadok

if(IsPlayerInSphere(playerid, 2310.3323,-8.5228,26.7422, 3) == 1)

Link to comment
Share on other sites

6 errors:

.pwn(1294) : error 029: invalid expression, assumed zero

.pwn(1407) : error 029: invalid expression, assumed zero

.pwn(1435) : error 055: start of function body without function header

.pwn(1436) : error 010: invalid function or declaration

.pwn(1438) : error 010: invalid function or declaration

.pwn(1440) : error 010: invalid function or declaration

 

riadky:

(1294) : if(IsPlayerInSphere(playerid, 2310.3323,-8.5228,26.7422, 3))

(1407) : if(IsPlayerInSphere(i,2048.4158,1173.2195,10.6719,15) ||

(1435) : IsPlayerInSphere(playerid,Float:x,Float:y,Float:z,radius){

(1436) : if(GetPlayerDistanceToPointEx(playerid,x,y,z) < radius)

(1438) : return 1;

(1440) : return 0;

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...