SendClientMessage Prob
#1

Hello I got a prob when I send a message that looks like this
Код:
if(PlayerInfo[playerid][pJob] == 24)
{
if(minuite == 0)
{
SendClientMessage(playerid, COLOR_GREY, "SMS [BAR]: The truck with loads of drugs has just arrived.");
return 1;
}
}
the problem is that when I use any but any command the message repeats, any advice or idea?
Reply
#2

What's minuite?
if(minuite == 0)
Reply
#3

is this placed in a command, and does the command return 1;?
Reply
#4

pawn Код:
if(PlayerInfo[playerid][pJob] == 24 && minuite == 0){
        /* SendClientMessage */
        return SendClientMessage(playerid, COLOR_GREY, "SMS [BAR]: The truck with loads of drugs has just arrived.");
    }
}
Reply
#5

pawn Код:
new
    munute = 50;

minute --; //??
pawn Код:
new
    Timer[1];
   
Timer[0]=SetTimer("Cycle",Seconds /*10000= 10 sec. */,false);
Reply
#6

minuite is /time on the server its a variable that already exist......... Also there is another prob, when the min is 0 or 5 or 10 I get the client message by typing anything with a / infront
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)