can anyone convert this for me please
#1

i need this command from strcmp to zcmd (CMD format if possible

Код:
if(strcmp(cmd, "/usephone", true) == 0)
{
	if (!IsAtPPhone(playerid))
	{
		SendClientMessage(playerid, COLOR_GRAD2, " You are not near a payphone!");
		return 1;

	}
    ShowPlayerDialog(playerid, DACCT32, DIALOG_STYLE_MSGBOX, "Telephone Booth", "Call", "Select", "Cancel");
    return 1;



}
Reply
#2

pawn Код:
CMD:usephone(playerid, params[])
{
    if (!IsAtPPhone(playerid))
    {
        SendClientMessage(playerid, COLOR_GRAD2, " You are not near a payphone!");
        return 1;
    }
    ShowPlayerDialog(playerid, DACCT32, DIALOG_STYLE_MSGBOX, "Telephone Booth", "Call", "Select", "Cancel");
    return 1;
}
Reply
#3

Very hard :O

https://sampforum.blast.hk/showthread.php?tid=280387

@Well hot damn.. too late
Reply
#4

thank you guys
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)