Hallo liebe Scripter,
ich habe ein Problem, undzwar ist es das mein Compiler "abkackt" und ich weiß nicht woran das liegen kann.
Ich habe paar Animationen hinzugefügt.
Code:
if(strcmp(cmd, "/blow1", true) == 0)
{
LoopingAnim(playerid,"Blowjobz","BJ_COUCH_START_W",4.0,0,0,0,0,0);
return 1;
}
if(strcmp(cmd, "/blow2", true) == 0)
{
LoopingAnim(playerid,"Blowjobz","BJ_COUCH_LOOP_W",4.0,0,0,0,0,0);
return 1;
}
if(strcmp(cmd, "/blow3", true) == 0)
{
LoopingAnim(playerid,"Blowjobz","BJ_COUCH_END_W",4.0,0,0,0,0,0);
return 1;
}
if(strcmp(cmd, "/blow4", true) == 0)
{
LoopingAnim(playerid,"Blowjobz","BJ_COUCH_START_P",4.0,0,0,0,0,0);
return 1;
}
if(strcmp(cmd, "/blow5", true) == 0)
{
LoopingAnim(playerid,"Blowjobz","BJ_COUCH_LOOP_P",4.0,0,0,0,0,0);
return 1;
}
if(strcmp(cmd, "/blow6", true) == 0)
{
LoopingAnim(playerid,"Blowjobz","BJ_COUCH_END_P",4.0,0,0,0,0,0);
return 1;
}
if(strcmp(cmd, "/blow7", true) == 0)
{
LoopingAnim(playerid,"Blowjobz","BJ_STAND_START_W",4.0,0,0,0,0,0);
return 1;
}
if(strcmp(cmd, "/blow8", true) == 0)
{
LoopingAnim(playerid,"Blowjobz","BJ_STAND_LOOP_W",4.0,0,0,0,0,0);
return 1;
}
if(strcmp(cmd, "/blow9", true) == 0)
{
LoopingAnim(playerid,"Blowjobz","BJ_STAND_END_W",4.0,0,0,0,0,0);
return 1;
}
if(strcmp(cmd, "/blow10", true) == 0)
{
LoopingAnim(playerid,"Blowjobz","BJ_STAND_START_P",4.0,0,0,0,0,0);
return 1;
}
if(strcmp(cmd, "/blow11", true) == 0)
{
LoopingAnim(playerid,"Blowjobz","BJ_STAND_LOOP_P",4.0,0,0,0,0,0);
return 1;
}
if(strcmp(cmd, "/blow12", true) == 0)
{
LoopingAnim(playerid,"Blowjobz","BJ_STAND_END_P",4.0,0,0,0,0,0);
return 1;
}
if(strcmp(cmd, "/blow13", true) == 0)
{
if(IsPlayerInAnyVehicle(playerid))
{
LoopingAnim(playerid,"Blowjobz","BJ_CAR_START_W",4.0,0,0,0,0,0);
return 1;
}
else
{
SendClientMessage(playerid,COLOR_RED,"Du bist in keinem Auto!");
}
}
if(strcmp(cmd, "/blow14", true) == 0)
{
if(IsPlayerInAnyVehicle(playerid))
{
LoopingAnim(playerid,"Blowjobz","BJ_CAR_LOOP_W",4.0,0,0,0,0,0);
return 1;
}
else
{
SendClientMessage(playerid,COLOR_RED,"Du bist in keinem Auto!");
}
}
if(strcmp(cmd, "/blow15", true) == 0)
{
if(IsPlayerInAnyVehicle(playerid))
{
LoopingAnim(playerid,"Blowjobz","BJ_CAR_END_W",4.0,0,0,0,0,0);
return 1;
}
else
{
SendClientMessage(playerid,COLOR_RED,"Du bist in keinem Auto!");
}
}
if(strcmp(cmd, "/blow16", true) == 0)
{
if(IsPlayerInAnyVehicle(playerid))
{
LoopingAnim(playerid,"Blowjobz","BJ_CAR_START_P",4.0,0,0,0,0,0);
return 1;
}
else
{
SendClientMessage(playerid,COLOR_RED,"Du bist in keinem Auto!");
}
}
if(strcmp(cmd, "/blow17", true) == 0)
{
if(IsPlayerInAnyVehicle(playerid))
{
LoopingAnim(playerid,"Blowjobz","BJ_CAR_LOOP_P",4.0,0,0,0,0,0);
return 1;
}
else
{
SendClientMessage(playerid,COLOR_RED,"Du bist in keinem Auto!");
}
}
if(strcmp(cmd, "/blow18", true) == 0)
{
if(IsPlayerInAnyVehicle(playerid))
{
LoopingAnim(playerid,"Blowjobz","BJ_CAR_END_P",4.0,0,0,0,0,0);
return 1;
}
else
{
SendClientMessage(playerid,COLOR_RED,"Du bist in keinem Auto!");
}
}
if(scrcmp(cmd, "Baseball", true) == 0)
{
LoopingAnim(playerid,"BASEBALL","BAT_1",4.0,0,0,0,0,0);
return 1;
}