Jump to content

Question

2 answers to this question

Recommended Posts

Posted

te referi ca,cand player scrie o comanda gen /bizes sa ii apara toate bizurile ?

daca da,atunci sub public OnPlayerCommandText(playerid, cmdtext[]) ,pui

	if (strcmp("/mycommand", cmdtext, true, 10) == 0)
	{
		SendClientMessage(playerid, COLOR_RED, "Biz-urile existente pe server sunt");
                SendClientMessage(playerid, COLOR_RED, "aici scri primul bizz ");
                SendClientMessage(playerid, COLOR_RED, "aici scri al-doilea bizz ");
                //si tot asa
		return 1;
	}
sau te referi la genul asta de enumeratie
enum bizes
{
    biz1,
    biz2,
    //....
}

Posted

Nu ma,deci cum e functia:

[pawn]if(PlayerInfo(playerid)(pMember) == 12 || if(PlayerInfo(playerid)(pLeader) == 12 || If(PlayerInfo(playerid)(pMember) == 13 || if(PlayerInfo(playerid)(pLeader) == 13)[/pawn]

Asa sa fie o enumeratie de asta de Bizuri,sa le adaug un pickup ceva la ele

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.