Szerző Téma: Damage Sound  (Megtekintve 695 alkalommal)

Damage Sound
« Dátum: 2016. Augusztus 13. - 18:13:35 »
0
Üdv! Csináltam egy olyat, hogy ha meglősz valakit, akkor csipog, hogyan lehet azt megoldani, hogy Ki-Be kapcsolható legyen? Előre is köszönöm!

Nem elérhető BVZS

  • 487
    • Profil megtekintése
Damage Sound
« Válasz #1 Dátum: 2016. Augusztus 13. - 18:37:33 »
0
CMD:csipog(playerid, params[])
{
if(GetPVarInt(playerid, \"Csipogás\") == 0)
{
    SetPVarInt(playerid, \"Csipogás\", 1);
    SendClientMessage(playerid, -1, \"Bepakcsoltad a csipogást.\");
} else {
    SetPVarInt(playerid, \"Csipogás\", 0);
    SendClientMessage(playerid, -1, \"Kipakcsoltad a csipogást.\");
}
return 1;
}

 
ahol beadja a csipogást:
 
if(GetPVarInt(playerid, \"Csipogás\") == 1) PlayerPlaySound...

Damage Sound
« Válasz #2 Dátum: 2016. Augusztus 13. - 18:46:48 »
0
Nagyon szépen köszönöm! :)

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal