Help sir :) simple - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help sir :) simple (
/showthread.php?tid=512324)
Help sir :) simple -
kloning1 - 10.05.2014
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);
Re: Help sir :) simple -
Ciandlah - 10.05.2014
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);
Re: Help sir :) simple -
kloning1 - 10.05.2014
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;
}
on top script
Re: Help sir :) simple -
kloning1 - 10.05.2014
up, help me please
Re: Help sir :) simple -
Matess - 10.05.2014
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;
}