Jump to content

[REZOLVAT] Rezolvare eroare


Detection7593
 Share

Recommended Posts

Salut, intampin aceasta eroare cu codul acesta.

error 001: expected token: "-string end-", but found "-identifier-"

SCMf(targetid, COLOR_WHITE, "Esti casatorit(a) cu %s", PlayerInfo[targetid][pPropose], ((GetPlayerID(PlayerInfo[targetid][pPropose]) == INVALID_PLAYER_ID) ? "offline" : "online"));

Banuiesc ca este de la aceasta sintaxa, care probabil este exprimata gresit: 

((GetPlayerID(PlayerInfo[targetid][pPropose]) == INVALID_PLAYER_ID) ? "offline" : "online"));

Mai exact de la acel: ? "offline" : "online",

dar nu stiu cum sa-l scriu altfel.

Sau de la un include mai vechi.

Astept un raspuns totusi. Daca ati putea sa ma ajutati, multumesc.

Edited by Bogus
Link to comment
Share on other sites

SCMf(targetid, COLOR_WHITE, "Esti casatorit(a) cu %s %s", PlayerInfo[targetid][pPropose], (GetPlayerID(PlayerInfo[targetid][pPropose]) == INVALID_PLAYER_ID) ? ("offline") : ("online"));

 

Edited by MiritaXD
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...