20.12.2013, 11:15
CMD:rob(playerid, params[])
{
if(robpossible == 1)
{
if(IsPlayerInRangeOfPoint(playerid, 3.0, 377.6089,-116.6122,1001.4922))
{
robpossible = 0;
SetTimer("waittimer", 60000, false);
SetTimer("robtimer", 10000, false);
SetPlayerWantedLevel(playerid, GetPlayerWantedLevel(playerid)+2);
SetPlayerScore(playerid, GetPlayerScore(playerid) +1 );
ApplyAnimation(playerid, "SHOP", "ROB_2Idle", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "ROB_Loop", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "ROB_Loop_Threat", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "ROB_Shifty", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "ROB_StickUp_In", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "SHP_Duck", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "SHP_Duck_Aim", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "SHP_Duck_Fire", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "SHP_Gun_Aim", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "SHP_Gun_Duck", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "SHP_Gun_Fire", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "SHP_Gun_Grab", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "SHP_Gun_Threat", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "SHP_HandsUp_Scr", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "SHP_Jump_Glide", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "SHP_Jump_Land", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "SHP_Jump_Launch", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "SHP_Rob_GiveCash", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "SHP_Rob_HandsUp", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "SHP_Rob_React", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "SHP_Serve_End", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "SHP_Serve_Idle", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "SHP_Serve_Loop", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "SHP_Serve_Start", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "Smoke_RYD", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "donutdrop", 4.1, 0, 1, 1, 1, 1, 1);
Only the first animation working .. need help
{
if(robpossible == 1)
{
if(IsPlayerInRangeOfPoint(playerid, 3.0, 377.6089,-116.6122,1001.4922))
{
robpossible = 0;
SetTimer("waittimer", 60000, false);
SetTimer("robtimer", 10000, false);
SetPlayerWantedLevel(playerid, GetPlayerWantedLevel(playerid)+2);
SetPlayerScore(playerid, GetPlayerScore(playerid) +1 );
ApplyAnimation(playerid, "SHOP", "ROB_2Idle", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "ROB_Loop", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "ROB_Loop_Threat", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "ROB_Shifty", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "ROB_StickUp_In", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "SHP_Duck", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "SHP_Duck_Aim", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "SHP_Duck_Fire", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "SHP_Gun_Aim", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "SHP_Gun_Duck", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "SHP_Gun_Fire", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "SHP_Gun_Grab", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "SHP_Gun_Threat", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "SHP_HandsUp_Scr", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "SHP_Jump_Glide", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "SHP_Jump_Land", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "SHP_Jump_Launch", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "SHP_Rob_GiveCash", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "SHP_Rob_HandsUp", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "SHP_Rob_React", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "SHP_Serve_End", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "SHP_Serve_Idle", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "SHP_Serve_Loop", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "SHP_Serve_Start", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "Smoke_RYD", 4.1, 0, 1, 1, 1, 1, 1);
ApplyAnimation(playerid, "SHOP", "donutdrop", 4.1, 0, 1, 1, 1, 1, 1);
Only the first animation working .. need help