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


Messages In This Thread
Help Again .. - by eden78 - 09.06.2009, 11:22
Re: Help Again .. - by eden78 - 09.06.2009, 11:34
Re: Help Again .. - by MPKaboose - 09.06.2009, 11:38

Forum Jump:


Users browsing this thread: 1 Guest(s)