Argument Type Mismatch
#1

Hello, i have an question i have always this error: error 035: argument type mismatch (argument 1)

Код:
new Text3D:evacuated[MAX_PLAYERS];
Код:
		    evacuated[playerid] = Create3DTextLabel("Evacuated", 0x99FF7FFF, 30.0, 40.0, 50.0, 40.0, 0);
		    Attach3DTextLabelToPlayer(evacuated, playerid, 0.0, 0.0, 0.7);
How to fix this?
Reply
#2

Which line?
Reply
#3

Attach3DTextLabelToPlayer(evacuated, playerid, 0.0, 0.0, 0.7);
this
Reply
#4

Quote:
Originally Posted by Blackazur
Посмотреть сообщение
Attach3DTextLabelToPlayer(evacuated, playerid, 0.0, 0.0, 0.7);
this
Because you forgot about cell id

Attach3DTextLabelToPlayer(evacuated[playerid], playerid, 0.0, 0.0, 0.7);

(Sorry for my bad English)
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)