Jump to content

Question

Posted

Am bagat /factions  :

C:\Users\user\Pictures\4-Games Gamemode\gamemodes\4Games.pwn(9318) : error 010: invalid function or declaration
C:\Users\user\Pictures\4-Games Gamemode\gamemodes\4Games.pwn(9321) : error 010: invalid function or declaration
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
Script:
//-----------------------------------------------------------------------------------------------------
if(!strcmp(cmdtext, "/factions", true)
{
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_MSGBOX, "ELM-GaminG RPG Factiuni", "{006AFF}1.Police Departament\n{0035A8}2.Federal Bureau Of Investigations\n{415E9C}3.National Guard\n{DE5252}4.Medics\n{9E3636}8.Hitman\n{FF9EEC}9.News Reporters\n{E3CC49}10.Taxi Cab\n{5ACBD1}11.School Instructors\n{3CB538}12.Grove Street\n{FFAE00}13.LaCosaNostra\n{8400FF}14.Ballas Gang\n{4CA697}15.VLA\n{DBDE8E}16.T.C.C ", "Close", "");
    return 1;
}

2 answers to this question

Recommended Posts

Posted

Comanda aia trebuie pusa in interiorul callback-ului OnPlayerCommandText.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.