Jump to content
  • 0

4 Probleme! NEED HELP PLS!


Diabolik14

Question

Salut am si eu 4 probleme care asi vrea sa le rezolv :

1) Imi da astea 2 warninguri la sfarsit :

D:\Kituri\Jocuri\GTA San Andreas\GM gPro\gamemodes\gPro.pwn(10989) : warning 209: function "JB_OnPlayerConnect" should return a value

D:\Kituri\Jocuri\GTA San Andreas\GM gPro\gamemodes\gPro.pwn(64691) : warning 217: loose indentation REZOLVATA!

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Header size:          15560 bytes

Code size:          3784608 bytes

Data size:        13048924 bytes

Stack/heap size:      16384 bytes; estimated max. usage=7344 cells (29376 bytes)

Total requirements:16865476 bytes

2 Warnings.

2) Asi vrea sa stiu cum pot sa schimb preturile la masinile personale! (masinile sunt au preturi doar ca asi dori sa le schimb pretul)

3) Asi dori sa stiu daca pot sa modific taxa la rent! De ex : masinile au rent 10 k ( pot cumpara bizz si sa dau /bizfee si sa pun mai mult sau mai putin ) dar pune acelasi pret la toate masinile asti vrea preturi diferite daca se poate ... (dak nu asta e)

4) Asi vrea sa stiu cum pot sa scot niste masini (sunt niste masini intr-o parcare care nu sunt nici de cumparat nici rent! Sunt free asi dori sa le scot !

MULTUMESC ANTICIPAT ! Astept raspuns!

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

La warningul 64691 nu inteleg ce are uite asa arata liniile la final se termina unde e } dupa incepe altceva.... si in sus nu am luat tot am luat doar putin ca e foarte lung!

if(gPro == 115)

{

TextDrawSetString(TextDrawlogin, "                                                                                      www.....ro");

}

if(gPro == 116)

{

TextDrawSetString(TextDrawlogin, "                                                                                      www......ro");

}

if(gPro == 117)

{

TextDrawSetString(TextDrawlogin, "                                                                                        www.....ro");

}

if(gPro == 118)

{

TextDrawSetString(TextDrawlogin, "                                                                                        www.....ro");

}

if(gPro == 119)

{

TextDrawSetString(TextDrawlogin, "                                                                                          www.....ro");

    gPro= 10;

    }

return 1;

}

----------------------------------------------------------

Aici am uploadat JunkBuster : http://pastebin.com/UEsV4HgK

Link to comment
Share on other sites

Schimba

if(gPro == 115)

  {

      TextDrawSetString(TextDrawlogin, "                                                                                      www.....ro");

  }

  if(gPro == 116)

  {

      TextDrawSetString(TextDrawlogin, "                                                                                      www......ro");

  }

  if(gPro == 117)

  {

      TextDrawSetString(TextDrawlogin, "                                                                                        www.....ro");

  }

  if(gPro == 118)

  {

      TextDrawSetString(TextDrawlogin, "                                                                                        www.....ro");

  }

  if(gPro == 119)

  {

      TextDrawSetString(TextDrawlogin, "                                                                                          www.....ro");

    gPro= 10;

    }

  return 1;

}

cu

if(gPro == 115)

  {

      TextDrawSetString(TextDrawlogin, "                                                                                      www.....ro");

  }

  if(gPro == 116)

  {

      TextDrawSetString(TextDrawlogin, "                                                                                      www......ro");

  }

  if(gPro == 117)

  {

      TextDrawSetString(TextDrawlogin, "                                                                                        www.....ro");

  }

  if(gPro == 118)

  {

      TextDrawSetString(TextDrawlogin, "                                                                                        www.....ro");

  }

  if(gPro == 119)

  {

      TextDrawSetString(TextDrawlogin, "                                                                                          www.....ro");

      gPro= 10;

  }

  return 1;

}

Link to comment
Share on other sites

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.