Jump to content

Question

Posted

C:\Documents and Settings\t\Desktop\RomaniaLife RPG\gamemodes\RomaniaLifeRPG.pwn(22739) : error 017: undefined symbol "ShowModelSelectionMenu"

Ce am incercat pana acum: Am bagat mSelection si degeaba .. [pawn]if(strcmp(cmd, "/skin", true) == 0)

{

if(IsPlayerConnected(playerid))

    {

if(PlayerInfo[playerid][pLeader] >= 1)

{

SendClientMessage(playerid, COLOR_GREY, "Esti lider/membru de factiune!");

}

else{

    ShowModelSelectionMenu(playerid, skinlist, "Alegeti Skin-ul");

    return 1;

    }

}else{

SendClientMessage(playerid, COLOR_GREY, "Nu esti conectat!");}

}[/pawn]

Am pus #include <mSelection> si degeaba

7 answers to this question

Recommended Posts

Posted

[pawn]C:\Documents and Settings\t\Desktop\RomaniaLife RPG\gamemodes\RomaniaLifeRPG.pwn(9865) : error 021: symbol already defined: "JB_OnPlayerCommandText"[/pawn]

Acum imi da eroarea asta

Linia 9865 :

[pawn]{[/pawn]

Posted

[glow=red,2,300]Greu cu engleza,cauta unde e definita asta odata JB_OnPlayerCommandText si sterge-o.[/glow]

[glow=blue,2,300]SAMP.[glow=yellow,2,300]RSP-GAME[glow=red,2,300].NET[/glow][/glow][/glow]

Posted

[glow=red,2,300]Greu cu engleza,cauta unde e definita asta odata JB_OnPlayerCommandText si sterge-o.[/glow]

Greu sa gandesti mai doamne.

NU AM ASA CEVA IN GM. Am cautat si n-am

Posted

Scuzati 2x post.

Dar uitati ce imi da

C:\Documents and Settings\t\Desktop\RomaniaLife RPG\gamemodes\RomaniaLifeRPG.pwn(1823) : error 021: symbol already defined: "OnPlayerCommandText"
C:\Documents and Settings\t\Desktop\RomaniaLife RPG\gamemodes\RomaniaLifeRPG.pwn(9880) : error 021: symbol already defined: "OnPlayerCommandText"

Doar aici am astea 2 si nu stiu ce sa le fac ..

[pawn]//---------------------------<[  ]>--------------------------------------------------------

public OnPlayerCommandText(playerid, cmdtext[])

{

new string[256];

new playermoney;

new sendername[MAX_PLAYER_NAME];

new giveplayer[MAX_PLAYER_NAME];

new playername[MAX_PLAYER_NAME];

new cmd[256];

new tmp[256];

new giveplayerid, moneys, idx;

cmd = strtok(cmdtext, idx);

dcmd(rset, 4, cmdtext);

if (strcmp("/fevent2", cmdtext, true, 9) == 0)

  {

if(IsPlayerAdmin(playerid))

{

    ReactionTest();

    return 1;

}

else return 0;

}

if (strcmp("/fightstyles", cmdtext, true, 10) == 0)

{

ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Fighting Styles", "Fighting Styles", "Select", "Cancel");

return 1;

}[/pawn]

[pawn]public OnPlayerCommandText(playerid, cmdtext[])

{

  if(strcmp(cmdtext, "/plane", true) == 0)

  {

      ShowModelSelectionMenu(playerid, planelist, "->Planes<-");

      return 1;

  }

  if(strcmp(cmdtext, "/changeskin", true) == 0)

  {

      ShowModelSelectionMenu(playerid, skinlist, "Select Skin");

      return 1;

  }

  return 0;

}[/pawn]

Posted

Lasa doar odata onplayercommandtext primu.

[pawn]//---------------------------<[  ]>--------------------------------------------------------

public OnPlayerCommandText(playerid, cmdtext[])

{

new string[256];

new playermoney;

new sendername[MAX_PLAYER_NAME];

new giveplayer[MAX_PLAYER_NAME];

new playername[MAX_PLAYER_NAME];

new cmd[256];

new tmp[256];

new giveplayerid, moneys, idx;

cmd = strtok(cmdtext, idx);

dcmd(rset, 4, cmdtext);

if (strcmp("/fevent2", cmdtext, true, 9) == 0)

  {

if(IsPlayerAdmin(playerid))

{

    ReactionTest();

    return 1;

}

else return 0;

}

if (strcmp("/fightstyles", cmdtext, true, 10) == 0)

{

ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Fighting Styles", "Fighting Styles", "Select", "Cancel");

return 1;

}

// [... Alte comenzi....]

  if(strcmp(cmdtext, "/plane", true) == 0)

  {

      ShowModelSelectionMenu(playerid, planelist, "->Planes<-");

      return 1;

  }

  if(strcmp(cmdtext, "/changeskin", true) == 0)

  {

      ShowModelSelectionMenu(playerid, skinlist, "Select Skin");

      return 1;

  }

public OnPlayerCommandText(playerid, cmdtext[])

{

  if(strcmp(cmdtext, "/plane", true) == 0)

  {

      ShowModelSelectionMenu(playerid, planelist, "->Planes<-");

      return 1;

  }

  if(strcmp(cmdtext, "/changeskin", true) == 0)

  {

      ShowModelSelectionMenu(playerid, skinlist, "Select Skin");

      return 1;

  }

  return 0;

}

[/pawn]

Cam asa ceva.

Posted

greu scriptingu...

chesti de baza gireada stie mai bn:))

oricum fa cum a spus alex23 si ar trebui sa mearga

 

 

430x73_FFFFFF_FF9900_000000_000000.png

 
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.