How to
#1

Im making a admin player class,
But how do i make it so,
If someone picks that player class,
It asks for a password?
Its easy to make i know,
But the bit i dont know is,
When they say the password,
It says password accepted,
All that works, But it says the password in mainchat,
Which i do not want, Any help? Ty
Reply
#2

can u post it so i can help you modifing the sccript'ї?
Reply
#3

pawn Код:
OnPlayerSpawn (Not the full just example)
{
If(PlayerSkin) = 280 ))
TogglePlayerControllable(0);
if(strtext("password" true));
TogglePlayerControllable(1);
SetPlayerPos()
{
else
}
SetPlayerPos()
SendClientMessage(Your not admin)
return 1;
}
Ok i just wrote that right now i didnt look at my script,
But you know what the codes are and what i mean
Reply
#4

Just make it a / command. like /password
Reply
#5


pawn Код:
OnPlayerSpawn (Not the full just example)
{
If(PlayerSkin) = 280 ))
TogglePlayerControllable(0);
if(strtext("password" true));
TogglePlayerControllable(1);
SetPlayerPos()
{
else
}
SetPlayerPos()
SendClientMessage(Your not admin)
return 0;// return 0 so nobody look at it
}
hope it help , but you should make a cmd like cole said
Reply
#6

Na i dont want cmd, But il try that code
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)