23.07.2012, 14:35
pawn Код:
[758]x = Player[playerid][Float:pPosX];
[759]y = Player[playerid][Float:pPosY];
[760]z = Player[playerid][Float:pPosZ];
[761]a = Player[playerid][Float:pAngle];
(758) : warning 213: tag mismatch
(759) : warning 213: tag mismatch
(760) : warning 213: tag mismatch
(761) : warning 213: tag mismatch
public OnPlayerRequestClass(playerid, classid)
{
new Float:x,Float:y,Float:z,Float:a;
x = Player[playerid][Float:pPosX];
y = Player[playerid][Float:pPosY];
z = Player[playerid][Float:pPosZ];
a = Player[playerid][Float:pAngle];
SetSpawnInfo(playerid, 0, Player[playerid][pSkin], x, y, z, a, -1,0,-1,0,-1,0);
SpawnPlayer(playerid);
return 1;
}
Any ideas?