SendPlayerToClassSelection
#1

Does that function exist? or has similar functions?
(By sending to class selection I mean like when you press F4)
Thanks 4 helpers
Reply
#2

ForceClassSelection
Reply
#3

Quote:
Originally Posted by vassilis
Посмотреть сообщение
Does it means I can use it like that (and make it work)?
pawn Код:
ForceClassSelection(playerid);
TogglePlayerSpectating(playerid,1);
is that okay?
Reply
#4

Quote:
Originally Posted by nuriel8833
Посмотреть сообщение
Does it means I can use it like that (and make it work)?
pawn Код:
ForceClassSelection(playerid);
TogglePlayerSpectating(playerid,1);
is that okay?
no you must use it
like that:

[pawn]
if you want for example to use the fuction you have to kill the player and then..force himm on class selection
Reply
#5

Quote:
Originally Posted by vassilis
Посмотреть сообщение
no you must use it
like that:

[pawn]
if you want for example to use the fuction you have to kill the player and then..force himm on class selection
Like what..? :O
Reply
#6

Quote:
Originally Posted by nuriel8833
Посмотреть сообщение
Like what..? :O
example as on wiki
pawn Код:
CMD:class(playerid,params[])
{
ForceClassSelection(playerid);
SetPlayerHealth(playerid,0);
return 1;
}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)