Jump to content

Question

Posted

Sallut deci vreau sa fac ca o comanda  de exemplu /play scriu si comanda lucreaza si sa dau inca odata /play si sa se stinga Deci vreau ca cu una si aceasi comanda sa aprind ceva si sa sting ma ajutati

lol

1 answer to this question

Recommended Posts

Posted

[pawn]new bool:IfPlayerPlaying[MAX_PLAYERS];

if(strcmp(cmdtext,"/play",true)==0)

{

if(IfPlayerPlaying[playerid] == true)

{

IfPlayerPlaying[playerid] = false;

//cand "inchide"

}else

{

IfPlayerPlaying[playerid] = true;

//cand "deschide"

}

}[/pawn]

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.