D:\\SZERVER\\Szkriptek\\pos.pwn(7) : warning 235: public function lacks forward declaration (symbol \"OnPlayerSpawn\")
D:\\SZERVER\\Szkriptek\\pos.pwn(2) : error 017: undefined symbol \"SetPlayerPos\"
D:\\SZERVER\\Szkriptek\\pos.pwn(6) : warning 235: public function lacks forward declaration (symbol \"OnPlayerDisconnect\")
D:\\SZERVER\\Szkriptek\\pos.pwn( : error 017: undefined symbol \"GetPlayerPos\"
D:\\SZERVER\\Szkriptek\\pos.pwn(9) : error 017: undefined symbol \"dini_FloatSet\"
D:\\SZERVER\\Szkriptek\\pos.pwn(10) : error 017: undefined symbol \"dini_FloatSet\"
D:\\SZERVER\\Szkriptek\\pos.pwn(11) : error 017: undefined symbol \"dini_FloatSet\"
D:\\SZERVER\\Szkriptek\\pos.pwn(7) : warning 203: symbol is never used: \"fZ\"
D:\\SZERVER\\Szkriptek\\pos.pwn(7) : warning 203: symbol is never used: \"fY\"
D:\\SZERVER\\Szkriptek\\pos.pwn(7) : warning 203: symbol is never used: \"fX\"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
public OnPlayerSpawn( playerid ) {
SetPlayerPos( playerid, dini_Float( pos, \"X\" ), dini_Float( pos, \"Y\" ), dini_Float( pos, \"Z\" ) );
return 1;
}
public OnPlayerDisconnect( playerid, reason ) {
new Float: fX, Float: fY, Float: fZ;
GetPlayerPos( playerid, fX, fY, fZ );
dini_FloatSet( pos, \"X\", fX );
dini_FloatSet( pos, \"Y\", fY );
dini_FloatSet( pos, \"Z\", fZ );
return 1;
}