• 05 Juin 2026, 16:39:05


Auteur Sujet: Probleme svp aider moi  (Lu 6140 fois)

0 Membres et 1 Invité sur ce sujet

Hors ligne Criminalos

  • *
  • Tueur
  • Messages: 87
    • Voir le profil
Re : Probleme svp aider moi
« Réponse #15 le: 24 Avril 2009, 22:50:50 »
sa met sa


C:\Program Files\Rockstar Games\GTA San Andreas\samp02Xserver.win32\gamemodes\Los-SantosRPmod.pwn(146) : error 010: invalid function or declaration
C:\Program Files\Rockstar Games\GTA San Andreas\samp02Xserver.win32\gamemodes\Los-SantosRPmod.pwn(312) : warning 203: symbol is never used: "groveterritory"
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


1 Error.

Hors ligne Dark4ng3L

  • *
  • Bandit
  • Messages: 480
    • Voir le profil
    • DecaWeb.ch - L'informatique comme vous ne l'avez jamais vu!
Re : Probleme svp aider moi
« Réponse #16 le: 24 Avril 2009, 22:52:44 »
ben je sais pas ...
faut attendre que Syg passe (lol) ou R@F
Cordialement Dark4ng3L aussi connu sous le nom de Mathias_Martinez, Matthias_Angelo et lugia !




Hors ligne Criminalos

  • *
  • Tueur
  • Messages: 87
    • Voir le profil
Re : Probleme svp aider moi
« Réponse #17 le: 24 Avril 2009, 22:54:58 »
sa me met sa



C:Program FilesRockstar GamesGTA San Andreassamp02Xserver.win32gamemodesLos-SantosRPmod.pwn(146) : error 010: invalid function or declaration
C:Program FilesRockstar GamesGTA San Andreassamp02Xserver.win32gamemodesLos-SantosRPmod.pwn(188) : error 021: symbol already defined: "GangZoneShowForPlayer"
C:Program FilesRockstar GamesGTA San Andreassamp02Xserver.win32gamemodesLos-SantosRPmod.pwn(313) : warning 203: symbol is never used: "groveterritory"
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.



Double post
atten moi jai mi sa


public OnPlayerSpawn(playerid)
{
   return 1;
}
    GangZoneShowForPlayer(playerid, groveterritory, COLOR_GREEN);


c bon ou pas
« Modifié: 24 Avril 2009, 22:59:05 par Criminalos »

Hors ligne S!m

  • *
  • Messages: 2341
    • Voir le profil
Re : Probleme svp aider moi
« Réponse #18 le: 24 Avril 2009, 23:10:23 »
salut,

la fonction doit se trouver entre les {}, donc on obteint:

public OnPlayerSpawn(playerid)
{
    GangZoneShowForPlayer(playerid, groveterritory, COLOR_GREEN);
    return 1;
}

++Sim++





Hors ligne Criminalos

  • *
  • Tueur
  • Messages: 87
    • Voir le profil
Re : Probleme svp aider moi
« Réponse #19 le: 24 Avril 2009, 23:17:22 »

jai mit sa mais sa ne marche pas

{
    GangZoneShowForPlayer(playerid, groveterritory, COLOR_GREEN);
    return 1;
}




sa donne sa

C:\Program Files\Rockstar Games\GTA San Andreas\samp02Xserver.win32\gamemodes\Los-SantosRPmod.pwn(144) : error 055: start of function body without function header
C:\Program Files\Rockstar Games\GTA San Andreas\samp02Xserver.win32\gamemodes\Los-SantosRPmod.pwn(146) : error 010: invalid function or declaration
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
« Modifié: 25 Avril 2009, 10:51:20 par Criminalos »

Hors ligne Franky™

  • Franky™ est bien la
  • *
  • Gangster
  • Messages: 1058
    • Voir le profil
Re : Probleme svp aider moi
« Réponse #20 le: 25 Avril 2009, 11:31:52 »
Salut,

Tu as bien mis ça ?

public OnPlayerSpawn(playerid)
{
    GangZoneShowForPlayer(playerid, groveterritory, COLOR_GREEN);
    return 1;
}


comme Sim l'as dit ?

Car quand tu dit


jai mit sa mais sa ne marche pas

{
    GangZoneShowForPlayer(playerid, groveterritory, COLOR_GREEN);
    return 1;
}


C'est normal car tu ne met pas de public.

++ Franky


°°((Franky's WebSite
Désolé pour mes fautes d'orthographes

Hors ligne Criminalos

  • *
  • Tueur
  • Messages: 87
    • Voir le profil
Re : Probleme svp aider moi
« Réponse #21 le: 25 Avril 2009, 12:09:34 »
enfete jai mit sa dans OnGameModInit


je vien de le metre ou tu ma dit et sa met sa

public OnPlayerDisconnect(playerid, reason)
{
    GangZoneShowForPlayer(playerid, groveterritory, COLOR_GREEN);
   return 1;
}



C:\Program Files\Rockstar Games\GTA San Andreas\samp02Xserver.win32\gamemodes\Los-SantosRPmod.pwn(176) : error 017: undefined symbol "groveterritory"
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
« Modifié: 25 Avril 2009, 12:11:20 par Criminalos »

Hors ligne MrFredo

  • *
  • Grand Banditisme
  • Scripteur PHP/PAWN
  • Messages: 953
    • Voir le profil
    • GTA-Hosting
Re : Probleme svp aider moi
« Réponse #22 le: 25 Avril 2009, 12:41:16 »
Na mais t con ou tu le fait expres?


ON TA DIT DE LE METTRE DANS ONPLAYERSPAWN

Bon je recapitule

tout en haut du script tu met:
Code: (pawn) [Sélectionner]
new groveterritory;
Dans public OnGameModeInit()   tu met:
Code: (pawn) [Sélectionner]
groveterritory = GangZoneCreate(2155.362, -1902.935, 2566.068, -1555.534);
Dans public OnPlayerSpawn(playerid) tu met:
Code: (pawn) [Sélectionner]
GangZoneShowForPlayer(playerid, groveterritory, COLOR_GREEN);

Desolé mais la si tu comprend pas serieux abandone car on ta tout expliquer mais faut un minimum de reflexion quand meme ....


Hors ligne Criminalos

  • *
  • Tueur
  • Messages: 87
    • Voir le profil
Re : Probleme svp aider moi
« Réponse #23 le: 25 Avril 2009, 12:47:46 »
c'est se ke je vien de faire et sa marche pas

mais pour le new groveterritory; ou en haut de sciprt ossi



jai mi sa mais s amarche pas





public OnGameModeInit()

 groveterritory = GangZoneCreate(2155.362, -1902.935, 2566.068, -1555.534);






public OnPlayerSpawn(playerid)
{
   GangZoneShowForPlayer(playerid, groveterritory, COLOR_GREEN);
   return 1;
}







C:\Program Files\Rockstar Games\GTA San Andreas\samp02Xserver.win32\gamemodes\Los-SantosRPmod.pwn(147) : error 010: invalid function or declaration
C:\Program Files\Rockstar Games\GTA San Andreas\samp02Xserver.win32\gamemodes\Los-SantosRPmod.pwn(185) : error 017: undefined symbol "groveterritory"
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
« Modifié: 25 Avril 2009, 12:55:50 par Criminalos »


Hors ligne Criminalos

  • *
  • Tueur
  • Messages: 87
    • Voir le profil
Re : Probleme svp aider moi
« Réponse #25 le: 25 Avril 2009, 13:07:12 »
ba moi s marche c 'est bizare

tu a marker comment toi

Hors ligne MrFredo

  • *
  • Grand Banditisme
  • Scripteur PHP/PAWN
  • Messages: 953
    • Voir le profil
    • GTA-Hosting
Re : Probleme svp aider moi
« Réponse #26 le: 25 Avril 2009, 13:08:54 »
Tu a surment du te gouré quelque part ...

Preuve que sa marche:

Hors ligne Criminalos

  • *
  • Tueur
  • Messages: 87
    • Voir le profil
Re : Probleme svp aider moi
« Réponse #27 le: 25 Avril 2009, 13:11:41 »
att regarde jai mit sa

public OnPlayerSpawn(playerid)
{
   GangZoneShowForPlayer(playerid, groveterritory, COLOR_GREEN);
   return 1;
}

public OnGameModeInit()

groveterritory = GangZoneCreate(2155.362, -1902.935, 2566.068, -1555.534);

Hors ligne Franky™

  • Franky™ est bien la
  • *
  • Gangster
  • Messages: 1058
    • Voir le profil
Re : Probleme svp aider moi
« Réponse #28 le: 25 Avril 2009, 13:12:16 »
Met nous ton script sur le pastebin, pour qu'on regarde si ta fait juste.

MrFredo ta en plus super bien expliqué comment rajouté tout ça.

Donc montre nous tout ton script pour qu'on puisse t'aidé

++ Franky


°°((Franky's WebSite
Désolé pour mes fautes d'orthographes

Hors ligne Criminalos

  • *
  • Tueur
  • Messages: 87
    • Voir le profil
Re : Probleme svp aider moi
« Réponse #29 le: 25 Avril 2009, 13:13:33 »
Script


MODO: lorsque tu poste un code d'une telle longueur, tu le met sur pastebin :Règlements

« Modifié: 25 Avril 2009, 15:39:55 par Sim »