Help Again ..
#1

i did this code :
Quote:

if(strcmp(cmd, "/tryup", true) == 0)
{
if(IsPlayerConnected(playerid))
{
new Float:HP;
if(GetPlayerHealth(playerid,HP) < 80)
{
new rand = random(sizeof(TriesOptions));
format(string, sizeof(string), "** %s tries to stand up, and %s.", GetPlayerNameInString(playerid), TriesOptions[rand][0]);
ProxDetector(10.0, playerid, string, 0x9ACD32AA,0x9ACD32AA,0x9ACD32AA,0x9ACD32AA,0x9ACD 32AA);
if(strfind(TriesOptions[rand][0],"sucsess",true)==true)
{
TogglePlayerControllable(playerid,1);
ClearAnimations(playerid);
}
else if(strfind(TriesOptions[rand][0],"fails",true)==true) { }
}
}
return 1;
}

and when i do /tryup , when i am in crack, and it sucsess , it dosent doing nothing !
Reply
#2

fixed !! working !! bye
Reply
#3

ah LOL I was just working on that
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)