Help sir :) simple
#1

Help Eror

pawn Код:
C:\Users\Mas O\Documents\Indonesia Drifters\gamemodes\ID.pwn(2589) : error 035: argument type mismatch (argument 1)
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
this line

pawn Код:
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
Reply
#2

You are not showing us the whole code.
For that to work you need this aswell

Код:
new Text3D:label = Create3DTextLabel("Hello, I am new here!", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
Reply
#3

i added

pawn Код:
public OnPlayerSpawn(playerid)
{
    if(PlayerInfo[playerid][VipLevel] == 1) {
        /*new Text3D:label = */Create3DTextLabel("VIP PLAYER", COLOR_PINK, 30.0, 40.0, 50.0, 40.0, 0);
        Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
 }
return 1;
}
pawn Код:
new Text3D:label
on top script
Reply
#4

up, help me please
Reply
#5

Try:

pawn Код:
public OnPlayerSpawn(playerid)
{
    if(PlayerInfo[playerid][VipLevel] == 1) {
        label = Create3DTextLabel("VIP PLAYER", COLOR_PINK, 30.0, 40.0, 50.0, 40.0, 0,0);
        Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
 }
return 1;
}
pawn Код:
new Text3D:label
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)