[Ajuda] ERRO JETPACK AJUUDA_ME
#1

Resolvido !
Reply
#2

Ta pondo isso dentro da OnPlayerCommandText?
Reply
#3

Resolvido !
Reply
#4

Cara tu boto dentro da public OnPlayerCommandText '-'.

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{

if (strcmp("/jetpack", cmdtext, true, 10) == 0)

{

    if(PlayerInfo[playerid][pVIP] >= 3) return SendClientMessage(playerid, 0xFFFFFFFF, "{FF0000}[BPH]: {FFFFFF}Vocк nгo й Socio");

    SetPlayerSpecialAction(playerid, 2);

    SendClientMessage(playerid, 0xFF00FFFF, "Sуcio seu Jetpack foi criado com sucesso.");

    return 1;

}
    return 0;

}
Reply
#5

Resolvido !
Reply
#6

Quote:
Originally Posted by Coringa_Vilao
Посмотреть сообщение
@Diogo

adc isso que vc falo so que agora tipo na hora de compilar fica so esperando e nгo compila fica a tabela em branco sem aparecer nada
if (strcmp("/jetpack", cmdtext, true, 10) == 0)
{
if(PlayerInfo[playerid][pVIP] >= 3) return SendClientMessage(playerid, 0xFFFFFFFF, "{FF0000}[BPH]: {FFFFFF}Vocк nгo й Socio");
SetPlayerSpecialAction(playerid, 2);
SendClientMessage(playerid, 0xFF00FFFF, "Sуcio seu Jetpack foi criado com sucesso.");
return 1;
}
Reply
#7

Resolvido !
Reply
#8

Resolvido !
Reply
#9

pawn Код:
//comeзo do gm
enum pInfo
{
    pVIP

}
new PlayerInfo[MAX_PLAYERS][pInfo];
// obs: verifique se jб existe a enum se existir faзa ela dnv mais certo lembrando que com +2 tem q usar "," sу no ultimo q nao q no caso ali sу tem pVIP entгo nao precisa
[/pawn]

pawn Код:
// na public OnPlayerCommandText coloca isso
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/jetpack", cmdtext, true, 10) == 0)
{
    if(PlayerInfo[playerid][pVIP] >= 3) return SendClientMessage(playerid, 0xFFFFFFFF, "{FF0000}[BPH]: {FFFFFF}Vocк nгo й Socio");
    SetPlayerSpecialAction(playerid, 2);
    SendClientMessage(playerid, -1, "Sуcio seu Jetpack foi criado com sucesso.");
    return 1;
}
    return 1;
}
obs nao sei se tб certo mais acho q seria isso ai me corriga pois sou novato e nгo sei se tб certo
Reply
#10

Resolvido !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)