Скин попугая в полный рост
Вот не большая команда, когда вы её водите, вы становитесь курицей.
Ко всем new
Code
new Popa[MAX_PLAYERS];
ко всем командам =)
Code
if(strcmp(cmdtext, "/popa", true) == 0)
{
if(Popa[playerid] == 0)
{
SetPlayerAttachedObject(playerid, 0, 19078, 1, -1.0,-0.3,-0.3, 0.0,0.0,0.0, 8.0,8.0,8.0);
Popa[playerid] = 1;
SendClientMessage(playerid, COLOR_YELLOW, "Вы надели курицу");
}
else
{
RemovePlayerAttachedObject(playerid, 0);
Popa[playerid] = 0;
SendClientMessage(playerid, COLOR_YELLOW, "Вы надели курицу");
}
return 1;
}