AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [SOLVED] set task & repeat (https://forums.alliedmods.net/showthread.php?t=92548)

One 05-16-2009 17:23

[SOLVED] set task & repeat
 
PHP Code:

public ZoneTouch(playerzone
{
    new 
zm pev(zoneZONEID)
   
    if (
admin_immunity && (get_user_flags(player) & ADMIN_IMMUNITY)) return
    

    if ( (
ZONEMODE:zm == ZM_CHECKPOINT) ) 
    {
        if (!
pointing[player]) 
        {
            
client_print(playerprint_center"Check point"player)
            
            
checkpointzone[player] = zone
            checktime
[player] = get_gametime()
            
checked[player] = get_gametime()
            
set_task(0.1"Checkpoints"TASK_BASIS_CAMPER player__"a",6)
        }
    }


the problem :

after 1 time touch, happend nothing. how can i give this repeat that this shit can be touched in a round more then 1 time ?


All times are GMT -4. The time now is 01:34.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.