>>>>>HELP<<<<< Click Me
#1

Can Anybodu help me?

pawn Код:
C:\Documents and Settings\Ismail Oz\Mijn documenten\Server\filterscripts\Pos.pwn(44) : error 012: invalid function call, not a valid address
C:\Documents and Settings\Ismail Oz\Mijn documenten\Server\filterscripts\Pos.pwn(44) : warning 215: expression has no effect
C:\Documents and Settings\Ismail Oz\Mijn documenten\Server\filterscripts\Pos.pwn(44) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Ismail Oz\Mijn documenten\Server\filterscripts\Pos.pwn(44) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Ismail Oz\Mijn documenten\Server\filterscripts\Pos.pwn(44) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
What does the error mean?
Reply
#2

You mist an ; symbol on line 44.
Reply
#3

Quote:
Originally Posted by On_Top_Non_Stop
You mist an ; symbol on line 44.
no

pawn Код:
SavePlayerPosition(playerid)
{
    new Float:x,Float:y,Float:z, interior;
    GetPlayerPos(playerid,x,y,z);
    interior = GetPlayerInterior(playerid);
  dUserSetINT(PlayerName(playerid)).("x1",floatround(x)); //Player's X // <<<<< Line 44
    dUserSetINT(PlayerName(playerid)).("y1",floatround(y)); //Player's Y
    dUserSetINT(PlayerName(playerid)).("z1",floatround(z)); //Player's Z
  dUserSetINT(PlayerName(playerid)).("interior1",interior); //Player's Interior
}
Reply
#4

What's line 44?
Reply
#5

Quote:
Originally Posted by ToD
Quote:
Originally Posted by On_Top_Non_Stop
You mist an ; symbol on line 44.
no

pawn Код:
SavePlayerPosition(playerid)
{
    new Float:x,Float:y,Float:z, interior;
    GetPlayerPos(playerid,x,y,z);
    interior = GetPlayerInterior(playerid);
  dUserSetINT(PlayerName(playerid)).("x1",floatround(x)); //Player's X // <<<<< Line 44
    dUserSetINT(PlayerName(playerid)).("y1",floatround(y)); //Player's Y
    dUserSetINT(PlayerName(playerid)).("z1",floatround(z)); //Player's Z
  dUserSetINT(PlayerName(playerid)).("interior1",interior); //Player's Interior
}
maybe change those .'s into ,'s
Reply
#6

There's nothing wrong with it. Maybe check the PlayerName(playerid) function.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)