PropSys Problem - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: PropSys Problem (
/showthread.php?tid=92457)
PropSys Problem -
Twyke - 20.08.2009
Hi,I have a problem i have a proprety system but when i try to compile it i have this error
Код:
E:\Program Files\Rockstar Games\samp02Xserver.win32\filterscripts\Properties.pwn(459) : error 017: undefined symbol "floatstr"
E:\Program Files\Rockstar Games\samp02Xserver.win32\filterscripts\Properties.pwn(460) : error 017: undefined symbol "floatstr"
E:\Program Files\Rockstar Games\samp02Xserver.win32\filterscripts\Properties.pwn(461) : error 017: undefined symbol "floatstr"
Pawn compiler 3.0.3367 Copyright © 1997-2005, ITB CompuPhase
3 Errors.
What can i do

Tnx,Twyke
Re: PropSys Problem -
Oi! - 20.08.2009
pawn Код:
new floatstr[MAX_PLAYERS];
Re: PropSys Problem -
Twyke - 20.08.2009
TnX
Re: PropSys Problem -
Twyke - 20.08.2009
I have another problem now

look
Код:
E:\.......\gamemodes\eXtremeStunt.pwn(318) : error 021: symbol already defined: "PlayerToPoint"
Re: PropSys Problem -
Oi! - 20.08.2009
Goto line 318 and delete the line.
Re: PropSys Problem -
Joe Staff - 20.08.2009
Quote:
Originally Posted by Oi!
pawn Код:
new floatstr[MAX_PLAYERS];
|
Did you not consider that 'floatstr' is actually a function in a_samp? It's used to derive a float from a string
EX:
pawn Код:
if(!strcmp(cmdtext[1],"north",true,5))
{
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid,x,y,z);
SetPlayerPos(playerid,x,y+floatstr(cmdtext[7]),z);
return 1;
}
Typing "/north 5.5" would make you go north by 5.5 meters.
Re: PropSys Problem -
Twyke - 20.08.2009
Quote:
Originally Posted by Oi!
Goto line 318 and delete the line.
|
Jea shure and i get anothere 6 errors,can somebody tell me how to repair this thing may be the include is not good