SA-MP Forums Archive
>>>>>HELP<<<<< Click Me - 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: >>>>>HELP<<<<< Click Me (/showthread.php?tid=69463)



>>>>>HELP<<<<< Click Me - RyDeR` - 18.03.2009

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?


Re: >>>>>HELP<<<<< Click Me - On_Top_Non_Stop - 18.03.2009

You mist an ; symbol on line 44.


Re: >>>>>HELP<<<<< Click Me - RyDeR` - 18.03.2009

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
}



Re: >>>>>HELP<<<<< Click Me - GTA_Rules - 18.03.2009

What's line 44?


Re: >>>>>HELP<<<<< Click Me - Think - 18.03.2009

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


Re: >>>>>HELP<<<<< Click Me - On_Top_Non_Stop - 18.03.2009

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