SA-MP Forums Archive
SetPlayerInterior & SetPlayerVirtualWorld weird Warning - Help 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: SetPlayerInterior & SetPlayerVirtualWorld weird Warning - Help me =\ (/showthread.php?tid=70366)



SetPlayerInterior & SetPlayerVirtualWorld weird Warning - Help me =\ - Castle - 24.03.2009

Well I got this code:
pawn Код:
if(PlayerInfo[playerid][pFaction] != 255)
        {
          if(PlayerInfo[playerid][pSpawnPoint] == 0)
          {
                SetPlayerPos(playerid,DynamicFactions[PlayerInfo[playerid][pFaction]][fX],DynamicFactions[PlayerInfo[playerid][pFaction]][fY],DynamicFactions[PlayerInfo[playerid][pFaction]][fZ]);
                SetPlayerInterior(playerid,fvInt);
                SetPlayerVirtualWorld(playerid,fvWorld);
                return 1;
            }
        }
Well it should set the player Virtual World and Interior when he spawns and he is in a faction.
I get this Warning:
Код:
C:\Documents and Settings\User\Desktop\SAMP GameMode\gamemodes\GM.pwn(14585) : warning 213: tag mismatch
C:\Documents and Settings\User\Desktop\SAMP GameMode\gamemodes\GM.pwn(14586) : warning 213: tag mismatch
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Warnings.



Re: SetPlayerInterior & SetPlayerVirtualWorld weird Warning - Help me =\ - Castle - 24.03.2009

any1?


Re: SetPlayerInterior & SetPlayerVirtualWorld weird Warning - Help me =\ - yezizhu - 24.03.2009

fv means float var?
u'd edit
new Float:fvInt
new Float:fvWorld

to
new fvInt
new fwWorld

right?


Re: SetPlayerInterior & SetPlayerVirtualWorld weird Warning - Help me =\ - Castle - 24.03.2009

NVM, got it fixed. Works now Thanks anyway