Can't write until logged in
#7

Quote:
Originally Posted by pds2012
Посмотреть сообщение
can you show us how you set you're variable if player is login. there is should something look like this
pawn Код:
//if player logged in
pInfo[playerid][pLogged] =1; //or you can use true
//if player is not logged in
pInfo[playerid][pLogged] =0; //or you can use false
because those code above are correct. so probably you got something wrong when you're setting it to 1 or 0
It works with "OnPlayerText", but doesn't work with "OnPlayerCommandText".
All I did is just, when the player connects, pInfo[playerid][pLogged] = false and when the player login (after the login dialog), pInfo[playerid][pLogged] = true. That's it pretty much
Reply


Messages In This Thread
Can't write until logged in - by Xeiss - 17.03.2013, 07:56
Re: Can't write until logged in - by burnfire - 17.03.2013, 08:04
Re: Can't write until logged in - by Xeiss - 17.03.2013, 08:05
Re: Can't write until logged in - by mastermax7777 - 17.03.2013, 08:33
Re: Can't write until logged in - by Xeiss - 17.03.2013, 08:59
Re: Can't write until logged in - by Patrick - 17.03.2013, 09:02
Re: Can't write until logged in - by Xeiss - 17.03.2013, 09:06
Re: Can't write until logged in - by JaKe Elite - 17.03.2013, 09:30

Forum Jump:


Users browsing this thread: 1 Guest(s)