[Ajuda] if do dialog algo errado D:
#1

PHP код:
if(dialogid == dcarregar)
{
if(
response) {
SendClientMessageToAll(0xDEEE20FF"Teoricamente vc morreu em LV");
cacargalv[playerid] = 1;
} else {
SendClientMessageToAll(0xDEEE20FF"Teoricamente vc morreu em SF");
SetPlayerMapIcon(playerid84, -2458.88402225.68044.8437410MAPICON_GLOBAL );//descarregar sf
cacargasf[playerid] = 1;
}

acho que pode ser chave

mas n sei como arrumar D:

*obs usa CPS check
Reply
#2

Explique o erro.

pawn Код:
if(dialogid == dcarregar)
{
    if(response)
    {
        SendClientMessageToAll(0xDEEE20FF, "Teoricamente vc morreu em LV");
        cacargalv[playerid] = 1;
        return 1;
    }
    SendClientMessageToAll(0xDEEE20FF, "Teoricamente vc morreu em SF");
    cacargasf[playerid] = 1;
}
Reply
#3

Код:
C:\Users\Acer I3\Desktop\novogm.pwn(2392) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Users\Acer I3\Desktop\novogm.pwn(2393) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Users\Acer I3\Desktop\novogm.pwn(2395) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Users\Acer I3\Desktop\novogm.pwn(2396) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Users\Acer I3\Desktop\novogm.pwn(2397) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Users\Acer I3\Desktop\novogm.pwn(2398) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Users\Acer I3\Desktop\novogm.pwn(2399) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Users\Acer I3\Desktop\novogm.pwn(2400) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Users\Acer I3\Desktop\novogm.pwn(2401) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Users\Acer I3\Desktop\novogm.pwn(2402) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Users\Acer I3\Desktop\novogm.pwn(2403) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Users\Acer I3\Desktop\novogm.pwn(2404) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Users\Acer I3\Desktop\novogm.pwn(2405) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Users\Acer I3\Desktop\novogm.pwn(2406) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Users\Acer I3\Desktop\novogm.pwn(2407) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Users\Acer I3\Desktop\novogm.pwn(2408) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Users\Acer I3\Desktop\novogm.pwn(2409) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Users\Acer I3\Desktop\novogm.pwn(2410) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Users\Acer I3\Desktop\novogm.pwn(2411) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Users\Acer I3\Desktop\novogm.pwn(2412) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Users\Acer I3\Desktop\novogm.pwn(2413) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Users\Acer I3\Desktop\novogm.pwn(2414) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Users\Acer I3\Desktop\novogm.pwn(2415) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Users\Acer I3\Desktop\novogm.pwn(2416) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Users\Acer I3\Desktop\novogm.pwn(2417) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Users\Acer I3\Desktop\novogm.pwn(2418) : error 017: undefined symbol "CPS_AddCheckpoint"

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


26 Errors.
Reply
#4

topo do GM:
pawn Код:
new CPS_AddCheckpoint;
Reply
#5

n deu magnus
Reply
#6

bote esta include:

http://www.4shared.com/file/24328381.../cpstream.html

\/
\/
Reply
#7

Voce nao tem essa include Cps Check,ou ela esta no local errado,ou entao pelo fato de ser 26 erros,pode ser chaves tambem.
Reply
#8

consegui arrumar o problema era no comando

tava assim
if(cacargalv[playerid] == 0){
if(cacargasf[playerid] == 0){

arrumei e fikou assim

if(cacargalv[playerid] == 0 || cacargasf[playerid] == 0){
Reply
#9

Quote:
Originally Posted by [Magnus]
Посмотреть сообщение
topo do GM:
pawn Код:
new CPS_AddCheckpoint;
o que que adianta criar uma variavel se ela nao tem funзao?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)