17.05.2010, 19:31
I just copied this from GTARP but I want to edit these lines later but I get it in here
I get the errors at if and return
Код:
if(strcmp(cmd, "/help", true) == 0) { if(IsPlayerConnected(playerid)) { SendClientMessage(playerid, COLOR_GREEN,":: ACCOUNT :: /rules /stats /changepass /levelup /upgrade"); SendClientMessage(playerid, COLOR_GREEN,":: GENERAL :: /pay /charity /time /buy /unrentcar /unrentbike /switchkey /id /drink /clothes /opendoor(/od)"); SendClientMessage(playerid, COLOR_GREEN,":: GENERAL :: /resetupgrades(50k) /buygun /lock /skill /licenses /showlicenses(/sl) /report /askq /animlist /stopanim /fuel"); SendClientMessage(playerid, COLOR_GREEN,":: GENERAL :: (/re)port /cancel /accept /eject /usedrugs /contract /fill /admins (/f)actionlist"); SendClientMessage(playerid, COLOR_GREEN,":: GENERAL :: (/wi)ndows /coin /trunk (/inv)entory /knock /knockout /give /gateopen /sid /smoke"); SendClientMessage(playerid, COLOR_GREEN,":: CHAT :: (/p)me (/cw)hisper (/o)oc (/s)hout /low (/b) (/f)action /me /do /togooc /tognews /togfam /togpm /togphone"); SendClientMessage(playerid, COLOR_GREEN,":: BANK :: /balance /withdraw /deposit /wiretransfer"); } return 1; }