Jump to content
  • 0

pomoc [Help]Bankomaty


Guest StReeY [Dinti]

Dotaz

Guest StReeY [Dinti]

Udelal som si navod od CHEFA bankomaty a napísalo mi tieto errory ? co mam delat ?

 

E:\DOCUME~1\matus\Plocha\RFSTD.pwn(1162) : error 017: undefined symbol "dcmd"
E:\DOCUME~1\matus\Plocha\RFSTD.pwn(1163) : error 017: undefined symbol "dcmd"
E:\DOCUME~1\matus\Plocha\RFSTD.pwn(1164) : error 017: undefined symbol "dcmd"

Link to comment
Share on other sites

Recommended Posts

  • 0
#define dcmd(%1,%2,%3) if((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1

Link to comment
Share on other sites

  • 0
Guest StReeY [Dinti]

ted mi to hodilo toto

 

E:\DOCUME~1\matus\Plocha\RFSTD.pwn(1162) : error 017: undefined symbol "dcmd_stav"
E:\DOCUME~1\matus\Plocha\RFSTD.pwn(1163) : error 017: undefined symbol "dcmd_vybrat"
E:\DOCUME~1\matus\Plocha\RFSTD.pwn(9779) : error 017: undefined symbol "IsPlayerInSphere"
E:\DOCUME~1\matus\Plocha\RFSTD.pwn(9791) : error 017: undefined symbol "IsPlayerInSphere"
E:\DOCUME~1\matus\Plocha\RFSTD.pwn(9803) : error 017: undefined symbol "IsPlayerInSphere"
E:\DOCUME~1\matus\Plocha\RFSTD.pwn(9816) : error 017: undefined symbol "dcmd_vybrat"
E:\DOCUME~1\matus\Plocha\RFSTD.pwn(9818) : error 017: undefined symbol "IsPlayerInSphere"
E:\DOCUME~1\matus\Plocha\RFSTD.pwn(9830) : error 017: undefined symbol "IsPlayerInSphere"
E:\DOCUME~1\matus\Plocha\RFSTD.pwn(9842) : error 017: undefined symbol "IsPlayerInSphere"
E:\DOCUME~1\matus\Plocha\RFSTD.pwn(9855) : error 017: undefined symbol "dcmd_stav"
E:\DOCUME~1\matus\Plocha\RFSTD.pwn(9858) : error 017: undefined symbol"IsPlayerInSphere"
E:\DOCUME~1\matus\Plocha\RFSTD.pwn(9863) : error 017: undefined symbol "IsPlayerInSphere"
E:\DOCUME~1\matus\Plocha\RFSTD.pwn(9868) : error 017: undefined symbol "IsPlayerInSphere"

Link to comment
Share on other sites

  • 0

za 1. nemáš to nadefinovaný za 2. vymaž dcmd(stav,4,cmdtext); a dcmd(vybrat,6,cmdtext);

 

definice IsPlayerInSphere

IsPlayerInSphere(playerid,Float:x,Float:y,Float:z,radius){
if(GetPlayerDistanceToPointEx(playerid,x,y,z) < radius){
return 1;
}
GetPlayerDistanceToPointEx(playerid,Float:x,Float:y,Float:z){
new Float:x1,Float:y1,Float:z1;
new Float:tmpdis;
GetPlayerPos(playerid,x1,y1,z1);
tmpdis = floatsqroot(floatpower(floatabs(floatsub(x,x1)),4)+floatpower(floatabs(floatsub(y,y1)),4)+floatpower(floatabs(floatsub(z,z1)),4));
return floatround(tmpdis);
}

Link to comment
Share on other sites

  • 0
Guest StReeY [Dinti]

IsPlayerInSphere

IsPlayerInSphere(playerid,Float:x,Float:y,Float:z,radius){
if(GetPlayerDistanceToPointEx(playerid,x,y,z) < radius){
return 1;
}
GetPlayerDistanceToPointEx(playerid,Float:x,Float:y,Float:z){
new Float:x1,Float:y1,Float:z1;
new Float:tmpdis;
GetPlayerPos(playerid,x1,y1,z1);
tmpdis = floatsqroot(floatpower(floatabs(floatsub(x,x1)),4)+floatpower(floatabs(floatsub(y,y1)),4)+floatpower(floatabs(floatsub(z,z1)),4));
return floatround(tmpdis);
}

 

kde to mam dat ? lebo ak to dam hore do modu nabehne mi 26 errorov

Link to comment
Share on other sites

  • 0
Guest StReeY [Dinti]

DAL SOM TO DOLE A ZASE NECHAPEM CO S TYM JE :(

 

E:\DOCUME~1\matus\Plocha\RFSTD.pwn(9779) : error 017: undefined symbol "IsPlayerInSphere"

E:\DOCUME~1\matus\Plocha\RFSTD.pwn(9791) : error 017: undefined symbol "IsPlayerInSphere"

E:\DOCUME~1\matus\Plocha\RFSTD.pwn(9803) : error 017: undefined symbol "IsPlayerInSphere"

E:\DOCUME~1\matus\Plocha\RFSTD.pwn(9816) : error 017: undefined symbol "dcmd_vybrat"

E:\DOCUME~1\matus\Plocha\RFSTD.pwn(9818) : error 017: undefined symbol "IsPlayerInSphere"

E:\DOCUME~1\matus\Plocha\RFSTD.pwn(9830) : error 017: undefined symbol "IsPlayerInSphere"

E:\DOCUME~1\matus\Plocha\RFSTD.pwn(9842) : error 017: undefined symbol "IsPlayerInSphere"

E:\DOCUME~1\matus\Plocha\RFSTD.pwn(9855) : error 017: undefined symbol "dcmd_stav"

E:\DOCUME~1\matus\Plocha\RFSTD.pwn(9858) : error 017: undefined symbol "IsPlayerInSphere"

E:\DOCUME~1\matus\Plocha\RFSTD.pwn(9863) : error 017: undefined symbol "IsPlayerInSphere"

E:\DOCUME~1\matus\Plocha\RFSTD.pwn(9868) : error 017: undefined symbol "IsPlayerInSphere"

E:\DOCUME~1\matus\Plocha\RFSTD.pwn(9874) : error 017: undefined symbol "IsPlayerInSphere"

E:\DOCUME~1\matus\Plocha\RFSTD.pwn(9875) : error 017: undefined symbol "GetPlayerDistanceToPointEx"

E:\DOCUME~1\matus\Plocha\RFSTD.pwn(9878) : error 017: undefined symbol "GetPlayerDistanceToPointEx"

E:\DOCUME~1\matus\Plocha\RFSTD.pwn(9882) : error 017: undefined symbol "x"

E:\DOCUME~1\matus\Plocha\RFSTD.pwn(9885) : error 030: compound statement not closed at the end of file (started at line 9875)

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...