Jump to content
  • 0

pomoc Dcmd


Ronny

Dotaz

Ahoj lidi dneska jsem začal dělat příkazy pro povolaní a potřebuji jaký bude pro Hasiče Pro policii mám

 

dcmd_zat(playerid, params[])
{
new ID = strval(params);
new string[64];
//takhle ok 
if(Zamestnani[playerid] != Policista)    return SendClientMessage(playerid, 0xFF0000FF, "Tento prikaz muze pouzit jen Policsta");
if(!strlen(params))  return SendClientMessage(playerid, 0xFF0000FF, "Použí příkaz /zat [ ID ]");
if(!IsPlayerConnected(ID))  return SendClientMessage(playerid, 0xFFFFFFFF, " Hrac neni online");

SetPlayerPos(ID,234.9410,158.8546,1003.0234);
format(string, sizeof string, "Zatknul jsi hráče %s",Jmeno(ID));
SendClientMessage(playerid, 0xFF00FFFF, string);
format(string, sizeof string, "Hráč %s tě zatknul",Jmeno(playerid));
SendClientMessage(ID, 0xFF00FFFF, string);
return 1;
}

Což mám dobže a je tam dcmd_zat a potřebuji dcmd_(Hasiči) nebo jak a pokud možno kde seženu pro vše povolaní? za pomoc Díky :)

 

LOCK , už vím

Link to comment
Share on other sites

0 odpovědí na tuto otázku

Recommended Posts

There have been no answers to this question yet

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