[Ajuda] ajuda aki
#3

Quote:
Originally Posted by WendeLKILL
Посмотреть сообщение
Verifica quando o player estiver encima do check point pode ser com IsPlayerInRangeOfPoint ai usa o DisablePlayerCheckpoint.
Para zoado esse sistema que vocк falou, Usa a base do CreateDynamicCp

PHP код:
CreateDynamicCP(Float:xFloat:yFloat:zFloat:sizeworldid = -1interiorid = -1playerid = -1Float:distance 100.0);
DestroyDynamicCP(checkpointid); 
PHP код:
new Checkpoint[2]; 
public 
OnPlayerSpawn(playerid)
{   
    
Checkpoint[0] = CreateDynamicCP(-2112.7422,-753.4459,32.17194, -1, -1, -1100); // Creates a checkpoint at -2112.7422,-753.4459,32.1719 with a range of 4, in any virtualworld, interior and for every player
    
Checkpoint[1] = CreateDynamicCP(-2112.9177,-760.9539,32.171945, -1, -1100); // Creates a checkpoint at -2112.9177,-760.9539,32.1719 with a range of 4, in virtualworld 5, any interior, and for every player
    
return 1;

Reply


Messages In This Thread
ajuda aki - by chefaoBR - 20.12.2014, 21:26
Re: ajuda aki - by WendeLKILL - 20.12.2014, 22:05
Re: ajuda aki - by [BOPE]Seu._.Madruga - 20.12.2014, 22:15
Re: ajuda aki - by WendeLKILL - 20.12.2014, 23:25

Forum Jump:


Users browsing this thread: 1 Guest(s)