[Ajuda] 3 dъvidas noobs :/
#3

Ta dando erro nessa linha
Quote:

SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HAN DSUP);

Quote:

C:\Users\PC\Desktop\BPPF\pawno\ULTRA2.pwn(29977) : error 017: undefined symbol "SPECIAL_ACTION_HAN"
C:\Users\PC\Desktop\BPPF\pawno\ULTRA2.pwn(29977) : error 017: undefined symbol "DSUP"
C:\Users\PC\Desktop\BPPF\pawno\ULTRA2.pwn(29977) : error 029: invalid expression, assumed zero
C:\Users\PC\Desktop\BPPF\pawno\ULTRA2.pwn(29977) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

4 Errors.

render
Quote:

if(strcmp(cmd, "/handsup", true) == 0 || strcmp(cmd, "/render", true) == 0)
{
if(antihands[playerid] == 1)
{
SendClientMessage(playerid,COLOR_LIGHTGREEN,"vocк estб congelado nao pode usar o comando!");
return 1;
}
if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
{
rendido[playerid] = 1;
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HAN DSUP);
return 1;
}
}

public OnPlayerSpawn(playerid)
Quote:

rendido[playerid] = 0;

/assaltar
Quote:

if(!strcmp(cmd, "/assaltar", true))
{

Assaltou[playerid] = gettime() + 55;
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) return SendClientMessage(playerid, -1, "USO: /assaltar [ID]");
new id = strval(tmp);
if(Assaltou[playerid] < gettime()) return SendClientMessage(playerid, -1, "Vocк usou este comando recentemente. Aguarde algum tempo para usб-lo novamente.");
new Float:Pos[3];
GetPlayerPos(id, Pos[0], Pos[1], Pos[2]);
if(!IsPlayerInRangeOfPoint(playerid, 5.0, Pos[0], Pos[1], Pos[2])) return SendClientMessage(playerid, 0xFF0000FF, "Vocк estб longe do jogador.");
if(rendido[playerid] == 1)
{
new money = GetPlayerMoneyEx(id);
GivePlayerMoneyEx(id, -money / 1);
GivePlayerMoneyEx(playerid, money/1);
//WantedPoints[playerid] = 10;
SetPlayerCriminal(playerid,255, "Artigo 157, Roubo a mгo armada!");
SendClientMessage(playerid, 0xFFFF00FF, "Vocк assaltou alguem ! Agora corrra !");
SendClientMessage(id, 0xFFFF00FF, "Vocк foi assaltado !");
}
return 1;
}

e declarei rendido lб em cima
Quote:

new rendido[MAX_PLAYERS];

E alguem sabe as outras duas que devem ser mais simples?
Reply


Messages In This Thread
3 dъvidas noobs :/ - by maikons08 - 27.08.2013, 16:44
Re: 3 dъvidas noobs :/ - by Coe1 - 27.08.2013, 16:50
Re: 3 dъvidas noobs :/ - by maikons08 - 27.08.2013, 19:27
Re: 3 dъvidas noobs :/ - by Coe1 - 27.08.2013, 19:32
Re: 3 dъvidas noobs :/ - by maikons08 - 27.08.2013, 19:35
Re: 3 dъvidas noobs :/ - by Coe1 - 27.08.2013, 19:38
Re: 3 dъvidas noobs :/ - by maikons08 - 27.08.2013, 19:47
Re: 3 dъvidas noobs :/ - by Coe1 - 27.08.2013, 19:56
Re: 3 dъvidas noobs :/ - by maikons08 - 27.08.2013, 20:31
Re: 3 dъvidas noobs :/ - by Sti - 28.08.2013, 00:26

Forum Jump:


Users browsing this thread: 1 Guest(s)