SetPlayerInterior & SetPlayerVirtualWorld weird Warning - Help me =\
#1

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

any1?
Reply
#3

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

to
new fvInt
new fwWorld

right?
Reply
#4

NVM, got it fixed. Works now Thanks anyway
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)