21.08.2012, 17:20
Hi, i've been using dini in my FS but now I'm trying to learn y_ini, i've followed some tutorials but am now experiencing problems. I get the following errors...
The lines are...
The complete code is... public OnPlayerSpawn(playerid)
Please help me learn how to prevent these problems.
Код:
C:\Program Files\Rockstar Games\GTA San Andreas\filterscripts\s-admin.pwn(292) : warning 213: tag mismatch C:\Program Files\Rockstar Games\GTA San Andreas\filterscripts\s-admin.pwn(293) : warning 213: tag mismatch C:\Program Files\Rockstar Games\GTA San Andreas\filterscripts\s-admin.pwn(296) : warning 213: tag mismatch C:\Program Files\Rockstar Games\GTA San Andreas\filterscripts\s-admin.pwn(297) : warning 213: tag mismatch C:\Program Files\Rockstar Games\GTA San Andreas\filterscripts\s-admin.pwn(298) : warning 213: tag mismatch C:\Program Files\Rockstar Games\GTA San Andreas\filterscripts\s-admin.pwn(299) : warning 213: tag mismatch C:\Program Files\Rockstar Games\GTA San Andreas\filterscripts\s-admin.pwn(300) : warning 213: tag mismatch Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 7 Warnings.
Код:
(292) SetPlayerInterior( playerid, Interior [ playerid ] ); (293) SetPlayerVirtualWorld( playerid, VirtualWorld[ playerid ] ); (296) SetPlayerSkin( playerid, Skin[ playerid ] ); (297) SetPlayerMoney( playerid, Money[ playerid ] ); (298) SetPlayerWantedLevel( playerid, WantedLevel[ playerid ] ); (299) SetPlayerFightingStyle( playerid, FightingStyle[ playerid ] ); (300) SetPlayerScore( playerid, Points[ playerid ] );
Код:
public OnPlayerSpawn(playerid) { SetPlayerPos( playerid, PosX[ playerid ], PosY[ playerid ], PosZ[ playerid ] ); SetPlayerFacingAngle( playerid, Angle[ playerid ] ); SetPlayerInterior( playerid, Interior [ playerid ] ); SetPlayerVirtualWorld( playerid, VirtualWorld[ playerid ] ); SetPlayerHealth( playerid, Health[ playerid ] ); SetPlayerArmour( playerid, Armour[ playerid ] ); SetPlayerSkin( playerid, Skin[ playerid ] ); SetPlayerMoney( playerid, Money[ playerid ] ); SetPlayerWantedLevel( playerid, WantedLevel[ playerid ] ); SetPlayerFightingStyle( playerid, FightingStyle[ playerid ] ); SetPlayerScore( playerid, Points[ playerid ] ); return 1; }