17.03.2017, 21:55
Hello,
maybe someone can look after this code. As the Title of this Thread says, the SendClientMessage won't show. I want to display 2x SendCliendMessage, for if false, and if true. I know, i forgot here something, but it seems everything okey.
Thanks.
maybe someone can look after this code. As the Title of this Thread says, the SendClientMessage won't show. I want to display 2x SendCliendMessage, for if false, and if true. I know, i forgot here something, but it seems everything okey.
Код HTML:
if( newkeys == KEY_SECONDARY_ATTACK ) { if( IsPlayerInRangeOfPoint( playerid, 2.0, 24.2823,17.6228,45.3920) ) { if (playerDB[playerid][worker] == 0) // False { SetPlayerPos( playerid,-18.9894,-91.7774,35.1484); SetPlayerInterior( playerid, 0 ); SendClientMessage(playerid, ORANGE, "You can't get in. Get a Job!"); // This SendClientMessage won't show return 1; } SetPlayerPos( playerid,-11.9894,-97.7774,35.1484); SetPlayerInterior( playerid, 0 ); SendClientMessage(playerid, ORANGE, "Welcome."); return 1; } }