Jump to content
  • 0

Errors


AleX124

Question

C:\Chestii\samp\RMF\gamemodes\RMF.pwn(609) : error 010: invalid function or declaration
C:\Chestii\samp\RMF\gamemodes\RMF.pwn(619) : error 010: invalid function or declaration

[pawn]CMD:help(playerid, params[])

{

new string[2024];

    strcat(string,"\n{6EF83C}\t\t---------------------RQS-------------------");

    strcat(string,"\n{6EF83C}\t\t\t{F81414}Comenzile de Ajutor\t{6EF83C}");

strcat(string,"\n{6EF83C}\t\t---------------------RQS-------------------");

strcat(string,"\n\t\t{6EF83C}\t{6EF83C}Teleporturi{0049FF} -->  {6EF83C}{F3FF02}/teles{6EF83C}");

strcat(string,"\n\t\t{6EF83C}\t{6EF83C}Credite{0049FF}   -->  {6EF83C}{F3FF02}/credits{6EF83C}");

strcat(string,"\n\t\t{6EF83C}\t{6EF83C}Comenzi{0049FF}    -->  {6EF83C}{F3FF02}/cmds{6EF83C}");

    strcat(string,"\n\t\t{6EF83C}\t{6EF83C}Reguli{0049FF}      -->  {6EF83C}{F3FF02}/rules{6EF83C}");

    strcat(string,"\n{6EF83C}\t\t---------------------------------------------------------");

ShowPlayerDialog(playerid,0001,DIALOG_STYLE_LIST,"Help Dialog",string,"OK","Exit");

  }

 

Randul - 609 return 1;

}

CMD:skydrift(playerid, params[])

{

        SetPlayerPos(playerid,1114.8033,1504.1325,50.7243);

        SetPlayerFacingAngle(playerid,2.5815);

        SetPlayerInterior(playerid,0);

        SendClientMessage(playerid,COLOR_GREEN,"Bine ati venit la Sky Drift !");

  }

Randul - 619 return 1;

}[/pawn]

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Vezi asa

CMD:help(playerid, params[])
{
	new string[2024];
    strcat(string,"\n{6EF83C}\t\t---------------------RQS-------------------",2024);
    strcat(string,"\n{6EF83C}\t\t\t{F81414}Comenzile de Ajutor\t{6EF83C}",2024);
	strcat(string,"\n{6EF83C}\t\t---------------------RQS-------------------",2024);
	strcat(string,"\n\t\t{6EF83C}\t{6EF83C}Teleporturi{0049FF} -->  {6EF83C}{F3FF02}/teles{6EF83C}",2024);
	strcat(string,"\n\t\t{6EF83C}\t{6EF83C}Credite{0049FF} 	   -->  {6EF83C}{F3FF02}/credits{6EF83C}",2024);
	strcat(string,"\n\t\t{6EF83C}\t{6EF83C}Comenzi{0049FF}     -->  {6EF83C}{F3FF02}/cmds{6EF83C}",2024);
    strcat(string,"\n\t\t{6EF83C}\t{6EF83C}Reguli{0049FF}      -->  {6EF83C}{F3FF02}/rules{6EF83C}",2024);
    strcat(string,"\n{6EF83C}\t\t---------------------------------------------------------",2024);
	ShowPlayerDialog(playerid,0001,DIALOG_STYLE_LIST,"Help Dialog",string,"OK","Exit");
	return 1;
}

CMD:skydrift(playerid, params[])
{
        SetPlayerPos(playerid,1114.8033,1504.1325,50.7243);
        SetPlayerFacingAngle(playerid,2.5815);
        SetPlayerInterior(playerid,0);
        SendClientMessage(playerid,COLOR_GREEN,"Bine ati venit la Sky Drift !");
        return 1;
}

Massari e curva mea

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.