Help on player spawn
#5

Create3DTextLabel(text[], color, Float:X, Float:Y, Float:Z, FloatrawDistance, virtualworld, testLOS)

Create3DTextLabel("Human",Blanco,30.0,40.0,50.0,40 .0,0,//you are missing testLOS);

use this one:

label[playerid] = Create3DTextLabel("Human",Blanco,30.0,40.0,50.0,40 .0,0,1);

EDIT: Complete code:
PHP код:
if(Equipo[playerid] == E_Zombie)
{
new 
rand random(sizeof(ZombieSpawn));
SetPlayerPos(playeridZombieSpawn[rand][0], ZombieSpawn[rand][1]);
SetPlayerColor(playeridRojo);
GivePlayerWeapon(playerid41);
GivePlayerWeapon(playerid4199999);
GameTextForPlayer(playerid,"~r~Zombie",4000,1);
label[playerid] = Create3DTextLabel("Zombie",Rojo,30.0,40.0,50.0,40.0,0,0);
Attach3DTextLabelToPlayer(label[playerid], playerid0.00.00.7);
}
if(
Equipo[playerid] == E_Human)
{
new 
rand random(sizeof(HumanSpawn));
SetPlayerPos(playeridHumanSpawn[rand][0], HumanSpawn[rand][1]);
SetPlayerColor(playeridBlanco);
GivePlayerWeapon(playerid25500);
GivePlayerWeapon(playerid441);// DOnt use Nightvision, will effect on whole server!
GivePlayerWeapon(playerid91);
GivePlayerWeapon(playerid165);
GameTextForPlayer(playerid,"~w~Human",4000,1);
label[playerid] = Create3DTextLabel("Human",Blanco,30.0,40.0,50.0,40.0,0,0);
Attach3DTextLabelToPlayer(label[playerid], playerid0.00.00.7);

Reply


Messages In This Thread
Help on player spawn - by MyBozz - 07.08.2011, 18:42
Re: Help on player spawn - by Backwardsman97 - 07.08.2011, 18:47
Re: Help on player spawn - by [MG]Dimi - 07.08.2011, 18:49
[No subject] - by MyBozz - 07.08.2011, 18:49
Re: Help on player spawn - by [MG]Dimi - 07.08.2011, 18:54
Re: Help on player spawn - by MyBozz - 07.08.2011, 19:04
Re: Help on player spawn - by [MG]Dimi - 07.08.2011, 19:25
Re: Help on player spawn - by MyBozz - 07.08.2011, 21:39

Forum Jump:


Users browsing this thread: 2 Guest(s)