Jump to content
  • 0

pomoc Vybirani podle ID


Shadower

Dotaz

Zdar ... vím že když sem napsal tento help tak se hodně ztrapním ale v pawnu mám velké nedostatky.

Takže ... proč sem napsal tento Help ...

Duvod:Normálně když chci třeba udělat příkaz aby mi to udělalo HP to je v klidu ale já chci aby si hráč mohl vybírat komu to chce dát pomocí ID mám něco zaměnit místo playerid ? nebo něco jínehé ? DÍKY

Link to comment
Share on other sites

1 odpověd na tuto otázku

Recommended Posts

  • 0

premeny...

dcmd_hp(playerid,params[])

{

if(IsPlayerConnected(playerid))

{

new pID = strval(params);

if(!strlen(params)) return SendClientMessage(playerid, ROT, "Pouziti: /hp [id]");

SetPlayerHealth(pID,100);

SetPlayerArmour(pID,100);

}

return 1;

}

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...