SA-MP Forums Archive
can anyone convert this for me please - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: can anyone convert this for me please (/showthread.php?tid=409448)



can anyone convert this for me please - Crossfire1989 - 21.01.2013

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;



}



Re: can anyone convert this for me please - [XST]O_x - 21.01.2013

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;
}



Re: can anyone convert this for me please - InfiniTy. - 21.01.2013

Very hard :O

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

@Well hot damn.. too late


Re: can anyone convert this for me please - Crossfire1989 - 21.01.2013

thank you guys