[Ajuda] Sistema de Lixo
#1

E ai galera do Fуrum SA-MP, tф com uma duvida, queria um sistema assim: O cara da "/pegarlixo" (NA HQ DELE SOMENTE) e ai vai aparecer muito Checkpoints pela Cidade, para ele catar LIXO, depois quando ele chegar no Checkpoint FINAL, ele vai ganhar uma grana de mais ou menos 1500 ou 2000, tudo com o caminhгo de LIXO, e se ele sair do caminhгo, ele faz com que os Checkpoints desapareзa fazendo com o que cancele a "Missгo"!!! Tem como fazer isso? Se tiver como, me ajudem por favor!!! Mande o Pawno Code e me digam onde colocar o code!
Reply
#2

https://sampforum.blast.hk/showthread.php?tid=408651
Reply
#3

Obrigado vou dar uma olhada, se me ajudar o fуrum, lhe dou o REP+, obg
Reply
#4

Cara , vocк estб pedindo algo meio grande de se fazer , sу se alguйm retirar do prуprio GM e por aqui..
Reply
#5

Coloquei o FS, e qualquer comando que dou tipo "/aa" ele diz "AGORA VOCК Й UM LIXEIRO" e й qualquer comando
Bugado total kk
Reply
#6

Quando vi o tнtulo achei que tu ia falar mal de algum sistema o.O

@topic:

Nгo й difнcil fazer isso, basta usar SetPlayerCheckpoint e no OnPlayerEnterCheckpoint ir configurando, usando arrays. Exemplo:

pawn Код:
new CheckpointLixo[MAX_PLAYERS]; //Topo do GM

//No Comando
CheckpointLixo[playerid] = 0;
SetPlayerCkeckpoint(...);

//OnPlayerEnterCheckpoint
if (CheckpointLixo[playerid] == 0)
{
    SetPlayerCkeckpoint(...);
    Checkpoint[playerid] = 1;
}

if (CheckpointLixo[playerid] == 1)
{
    SetPlayerCheckpoint(...);
    Checkpoint[playerid] = 2;
}

Vai fazendo assim atй chegar no checkpoint final
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)