Textdrawhide on OnPlayerLeaveDynamicCP
#1

hi guyz i got a problem when player leave the checkpoint 'CP' i made right 'i think' but when i leave the checkpoint the textdraw dont hide can anyone help me? + rep

pawn Код:
public OnPlayerLeaveDynamicCP(playerid, checkpointid)
 {
    if(checkpointid == CP && IsPlayerInDynamicCP(playerid, CP))
    {
        if(RobbingChurch[playerid] >= 1)
        {
            SendClientMessage(playerid,COLOR_ERROR,"Church robbery attempt failed. You left the checkpoint ..");
            RobbingChurch[playerid] =0;
            TextDrawHideForPlayer(playerid, TDBox);
            TextDrawHideForPlayer(playerid, TDText);
            TextDrawHideForPlayer(playerid, TDTime[playerid]);
            return 1;
        }
        return 1;
 }
return 1;
}
Reply


Messages In This Thread
Textdrawhide on OnPlayerLeaveDynamicCP - by Patrick - 19.11.2012, 20:15
Re: Textdrawhide on OnPlayerLeaveDynamicCP - by park4bmx - 19.11.2012, 20:23
Re: Textdrawhide on OnPlayerLeaveDynamicCP - by Patrick - 19.11.2012, 20:27

Forum Jump:


Users browsing this thread: 1 Guest(s)