PropSys Problem
#1

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
Reply
#2

pawn Код:
new floatstr;
pawn Код:
new floatstr[MAX_PLAYERS];
Reply
#3

TnX
Reply
#4

I have another problem now look
Код:
E:\.......\gamemodes\eXtremeStunt.pwn(318) : error 021: symbol already defined: "PlayerToPoint"
Reply
#5

Goto line 318 and delete the line.
Reply
#6

Quote:
Originally Posted by Oi!
pawn Код:
new floatstr;
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.
Reply
#7

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)