Wrong?
#1

Lol i got this OnPlayerConnect

Код:
if(IsLogged[playerid] == 1)
{
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
IsLogged[playerid] = Create3DTextLabel("Hi ._.",0x00FFFFFF,X, Y, Z+2.0,20.0,1);
Attach3DTextLabelToPlayer(IsLogged[playerid],playerid,0,0,1.2);
}
And i've this warnings:


C:\Documents and Settings\EUEHUEUEHU\Desktop\SFWAR.pwn(834) : warning 213: tag mismatch
C:\Documents and Settings\EUEHUEUEHU\Desktop\SFWAR.pwn(835) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Warnings.
Reply
#2

Please Put the two error rows below in cronological order
Reply
#3

Umh?

This are line 834:

new Float:X, Float:Y, Float:Z;

And 835:

GetPlayerPos(playerid, X, Y, Z);
Reply
#4

You are assigning a 3D Text Label to this variable IsLogged.

This seems that you have most likely not specified it as a Text3D type variable, this is what you need to do in order to store 3D Text information in it. Like so:

pawn Код:
new Text3D:IsLogged[MAX_PLAYERS];
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)