why doesnt this work?
#1

why doesnt this cmd work?

Код:
if(strcmp(cmd,"/lic",true)==0)
	{
        if(PlayerInfo[playerid][pCarLic] < 0) return SendClientMessage(playerid,COLOR_GREY,"you dont have one");
        if(PlayerInfo[playerid][pCarLic] < 1) return SendClientMessage(playerid,COLOR_GREY,"you do have one");
        return 1;
	}
ty
Reply
#2

Try this.

pawn Код:
if(strcmp(cmd,"/lic",true)==0)
{
    if(!PlayerInfo[playerid][pCarLic])
        return SendClientMessage(playerid,COLOR_GREY,"you dont have one"),1;
    else
        return SendClientMessage(playerid,COLOR_GREY,"you do have one"),1;
}
Reply
#3

thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)