A few questions.
#1

Ok first of all, "SetPlayerTeam" is not working as it should. now should I make a timer to check plyer's team, and then SetPlayerTeam?
Second,some timers don't work as they should, they sometimes fail. They spam everything. Well, it doesn't happen always, but i can't realy tell when it usualy happens, and when that happens everything gets f*cked up.

Third, is there a way to force players to their class selection without killing them at first place?

Forth, ok as I upgraded to 0.3b, ALL the animations I had, do not work anymore... What do I do?
Reply
#2

Use:


// Top Of Script
new PlayerTeam[playerid];

#define Team_team 0

// Your Code
if(PlayerTeam[playerid] == Team_Team)

You can also use GetPlayerTeam(playerid);
Reply
#3

A1) SetPlayerTeam works for me maybe tell us your specific problem.
A2) Timers work if you use them correctly.
A3) No.
A4) Check the functions out on the wiki and make the nessasary changes.
Quote:
Originally Posted by [UG]Scripter
Посмотреть сообщение
Use:


// Top Of Script
new PlayerTeam[playerid];

#define Team_team 0

// Your Code
if(PlayerTeam[playerid] == Team_Team)

You can also use GetPlayerTeam(playerid);
No you can't. You need to use SetPlayerTeam first, before you can use GetPlayerTeam.
Reply
#4

Quote:
Originally Posted by iggy1
Посмотреть сообщение
A1) SetPlayerTeam works for me maybe tell us your specific problem.
A2) Timers work if you use them correctly.
A3) No.
A4) Check the functions out on the wiki and make the nessasary changes.

No you can't. You need to use SetPlayerTeam first, before you can use GetPlayerTeam.
Obviously. That was a basic analergy of what he should use....
Reply
#5

In your post you said "use:". Not analogy. Its wrong to give advise if its misleading.
Reply
#6

Ok, thanks, but how do i make a 3D text on a player, when he spawns he gets "blah"on his head and when he dies the text gets removed..
Ok i made this, but it doesn't work...
Код:
This is on playerspawn
glabel[playerid] = Create3DTextLabel("Douche",RED,0,0,0,0,0,0);
Attach3DTextLabelToPlayer(glabel[playerid], playerid, 0.0, 0.0, 0.7);
And onplayerdeath i put this

Delete3DTextLabel(glabel[playerid]);

But i never see the text on my friends head ...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)