Keniski
Умник
/kura
Вот команда, как вы её водите на вас нацепляеться курица.
Ко всем new;
ко всем командам =)
Вот команда, как вы её водите на вас нацепляеться курица.
Ко всем new;
PHP:
new Kyra[MAX_PLAYERS];
PHP:
if(strcmp(cmd, "/kura", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(Kyra[playerid] == 0)
{
SetPlayerAttachedObject( playerid, 0, 19078, 1, -1.097527, -0.348305, -0.008029, 0.000000, 0.000000, 0.000000, 8.073966, 8.073966, 8.073966 );
Kyra[playerid] = 1;
SendClientMessage(playerid, COLOR_YELLOW, " Вы сделались курицей!");
}
else
{
RemovePlayerAttachedObject(playerid, 2);
DestroyPlayerObject(playerid, 19064);
Kyra[playerid] = 0;
SendClientMessage(playerid, COLOR_YELLOW, " Вы сделались курицей!");
}
}
return 1;
}
