Message not showing?
#1

I have this code:

pawn Код:
public OnPlayerRequestClass(playerid,classid)
{
if(gPlayerInfo[playerid][PLAYER_REGGED] == 1)
{
SendClientMessage(playerid,0xFF8040FF,"BOT: Welcome to Torrans Roleplay server");
SendClientMessage(playerid,0xFF0000FF,"BOT: Your username is recgonized, Please /login to continue");
}
SetPlayerCameraPos(playerid, 1890.1014,-1194.7969,25.8091);
SetPlayerCameraLookAt(playerid, 1933.4393,-1196.2479,18.8163);
return 1;
}
But if i go ingame, And im registered, That message dosent show, Why?
Reply
#2

try
Код:
if(strlen(gPlayerInfo[playerid][PLAYER_REGGED]) == 1)
Note: i did not test
Reply
#3

Quote:
Originally Posted by Torran
But if i go ingame, And im registered, That message dosent show, Why?
It's obvious that gPlayerInfo[playerid][PLAYER_REGGED] isn't equal to 1.
Reply
#4

You were right its not:
And this is the problem:

http://forum.sa-mp.com/index.php?topic=151545.0

Anyone help? Its not saving when i register
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)