Have problem about F4?
#1

I wanna if player connected first time disable class selection but other times to enable class selection..
How can I do it?
Reply
#2

so u want to make that the player can only choose 1 skin and he cannot change it?
if so...
you can do this (is very simple )
(this on the main of the gamemode, after #define...)
pawn Код:
new PlayerFirstSpawn[MAX_PLAYERS];
under OnPlayerSpawn...
pawn Код:
PlayerFirstSpawn[playerid] = 1 ;
where u want ( if you got this just replace.)
pawn Код:
public OnPlayerRequestClass(playerid,classid)
{
if(PlayerFirstSpawn[playerid]!= 0)
{ SpawnPlayer(playerid);
}

notice here if it worked
Reply
#3

I added but now, I don't pressed F4 but When I dead, I saw select class screen :S
Reply
#4

Quote:
Originally Posted by WickedDogg
I added but now, I don't pressed F4 but When I dead, I saw select class screen :S
Say that again ?
Reply
#5

I added but now When I dead I see the class selection screen.
Reply
#6

Quote:
Originally Posted by WickedDogg
I added but now When I dead I see the class selection screen.
When you didn't press F4?
Reply
#7

Quote:
Originally Posted by Compton's Eazy E
Quote:
Originally Posted by WickedDogg
I added but now When I dead I see the class selection screen.
When you didn't press F4?
Yes
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)