Hallo ich habe ein Problem, keine Animation geht bei mir.
Ich gebe immer eine ein aber es geht nicht.
Nichts passiert.
Nur pee geht
if(strcmp(cmdtext,"/stellen",true) == 0)
{
new string[128];
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);
MakeAnimation[playerid] = 1;
format(string, sizeof(string),"%s stellt sich der Polizei!!",SpielerName(playerid));
ProxDetector(25.0,playerid,string,0xE6E6E6E6,0xC8C8C8C8,0xAAAAAAAA,0x8C8C8C8C,0x6E6E6E6E);
TogglePlayerControllable(playerid,1);
return 1;
}
if(strcmp(cmdtext, "/pinkeln", true) == 0)
{
new string[128];
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_PISSING);
MakeAnimation[playerid] = 1;
SendClientMessage(playerid,weiss,"Animation beenden: /none");
format(string, sizeof(string),"%s pinkelt in der Öffentlichkeit",SpielerName(playerid));
ProxDetector(25.0,playerid,string,0xE6E6E6E6,0xC8C8C8C8,0xAAAAAAAA,0x8C8C8C8C,0x6E6E6E6E);
TogglePlayerControllable(playerid,1);
return 1;
}
if(strcmp(cmdtext,"/betrunken", true) == 0)
{
ApplyAnimation(playerid,"PED","WALK_DRUNK",4.0,1,1,1,1,0);
MakeAnimation[playerid] = 1;
TogglePlayerControllable(playerid,1);
return 1;
}
if(strcmp("/bomb", cmdtext, true) == 0)
{
ClearAnimations(playerid);
ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0); // Place Bomb
MakeAnimation[playerid] = 1;
TogglePlayerControllable(playerid,1);
return 1;
}
if(strcmp("/strip3", cmdtext, true) == 0) //16
{
ClearAnimations(playerid);
ApplyAnimation (playerid,"STRIP","STR_C2",4,1,0,0,0,0);
MakeAnimation[playerid] = 1;
TogglePlayerControllable(playerid,1);
return 1;
}
if(strcmp("/strip2", cmdtext, true) == 0) //18
{
ClearAnimations(playerid);
ApplyAnimation (playerid,"STRIP","STR_Loop_A",4,1,0,0,0,0);
MakeAnimation[playerid] = 1;
TogglePlayerControllable(playerid,1);
return 1;
}
if(strcmp("/strip1", cmdtext, true) == 0) //20
{
ClearAnimations(playerid);
ApplyAnimation (playerid,"STRIP","STR_Loop_C",4,1,0,0,0,0);
MakeAnimation[playerid] = 1;
TogglePlayerControllable(playerid,1);
return 1;
}
if(strcmp("/schwimmen", cmdtext, true) == 0)
{
ClearAnimations(playerid);
ApplyAnimation(playerid, "SWIM", "Swim_Breast", 4.0, 0, 0, 0, 0, 0); // Place Bomb
MakeAnimation[playerid] = 1;
TogglePlayerControllable(playerid,1);
return 1;
}
if(strcmp("/lachen", cmdtext, true) == 0)
{
ApplyAnimation(playerid, "RAPPING", "Laugh_01", 4.0, 0, 0, 0, 0, 0); // Laugh
MakeAnimation[playerid] = 1;
TogglePlayerControllable(playerid,1);
return 1;
}
if(strcmp("/lookout", cmdtext, true) == 0)
{
ApplyAnimation(playerid, "SHOP", "ROB_Shifty", 4.0, 0, 0, 0, 0, 0); // Rob Lookout
MakeAnimation[playerid] = 1;
TogglePlayerControllable(playerid,1);
return 1;
}
if(strcmp("/robman", cmdtext, true) == 0)
{
ApplyAnimation(playerid, "SHOP", "ROB_Loop_Threat", 4.0, 1, 0, 0, 0, 0); // Rob
MakeAnimation[playerid] = 1;
TogglePlayerControllable(playerid,1);
return 1;
}
if(strcmp("/crossarms", cmdtext, true) == 0)
{
TogglePlayerControllable(playerid,1);
ApplyAnimation(playerid, "COP_AMBIENT", "Coplook_loop", 4.0, 0, 1, 1, 1, -1); // Arms crossed
MakeAnimation[playerid] = 1;
TogglePlayerControllable(playerid,1);
return 1;
}
if(strcmp("/liegen", cmdtext, true, 6) == 0)
{
new string[128];
ApplyAnimation(playerid,"BEACH", "bather", 4.0, 1, 0, 0, 0, 0); // Lay down
MakeAnimation[playerid] = 1;
TogglePlayerControllable(playerid,1);
format(string, sizeof(string),"%s legt sich hin",SpielerName(playerid));
ProxDetector(25.0,playerid,string,0xE6E6E6E6,0xC8C8C8C8,0xAAAAAAAA,0x8C8C8C8C,0x6E6E6E6E);
return 1;
}
//Sitzen
if (strcmp("/sitzen", cmdtext, true) == 0)
{
new string[128];
ApplyAnimation(playerid,"PED","SEAT_down",4.1,0,1,1,1,0);//sitzen
MakeAnimation[playerid] = 1;
TogglePlayerControllable(playerid,1);
format(string, sizeof(string),"%s setzt sich hin",SpielerName(playerid));
ProxDetector(25.0,playerid,string,0xE6E6E6E6,0xC8C8C8C8,0xAAAAAAAA,0x8C8C8C8C,0x6E6E6E6E);
return 1;
}
if (strcmp("/hide", cmdtext, true, 3) == 0)
{
ApplyAnimation(playerid, "ped", "cower", 3.0, 1, 0, 0, 0, 0); // Taking Cover
MakeAnimation[playerid] = 1;
TogglePlayerControllable(playerid,1);
return 1;
}
if(strcmp(cmdtext, "/chat", true) == 0)
{
ApplyAnimation(playerid,"PED","IDLE_CHAT",4.0,0,0,0,0,0);
MakeAnimation[playerid] = 1;
TogglePlayerControllable(playerid,1);
return 1;
}
if(strcmp(cmdtext, "/fucku", true) == 0)
{
ApplyAnimation(playerid,"PED","fucku",4.0,0,0,0,0,0);
MakeAnimation[playerid] = 1;
TogglePlayerControllable(playerid,1);
return 1;
}
if(strcmp(cmdtext, "/aufheben", true) == 0)
{
new string[128];
ApplyAnimation(playerid,"CARRY","crry_prtial",4.1,1,1,1,0,0,0);
MakeAnimation[playerid] = 1;
TogglePlayerControllable(playerid,1);
format(string, sizeof(string),"%s hebt etwas auf",SpielerName(playerid));
ProxDetector(25.0,playerid,string,0xE6E6E6E6,0xC8C8C8C8,0xAAAAAAAA,0x8C8C8C8C,0x6E6E6E6E);
return 1;
}