GTAOnline.net

San Andreas Multiplayer (sa:mp) => Problèmes et bugs => Discussion démarrée par: Nesik le 30 Juin 2010, 19:58:43

Titre: Besoins d'aide sur une commande
Posté par: Nesik le 30 Juin 2010, 19:58:43
Bonjour à tous  :D,
Voilà mon problème je veux mettre une commande pour les gangs pour qu'ils puissent mettre leur vie et armure à 100,sauf que ça me met 26 erreurs
Voici ce qui peux vous aider,
La commande:
if(strcmp(cmd, "/equipergang", true) == 0)
{
 if(IsPlayerConnected(playerid))
 {
   if(PlayerToPoint(3, playerid, 450.9529,1411.9552,1084.3080) ||
   PlayerToPoint(3,playerid,2346.5398,-1184.3275,1027.9766))
   {
   if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5 ||
   PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16 ||
   PlayerInfo[playerid][pMemd][pLeaber] == 6 || PlayerInfo[playerid] == 6)
           }
           {
           SetPlayerArmour(playerid, 100);
           SetPlayerHealth(playerid, 100);
           GetPlayerName(playerid, sendername, sizeof(sendername));
           format(string, sizeof(string), "* %s a prit du Reb Bull et un Gillet par ball.", sendername);
           ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
           }
           return 1;
           }

Et les erreurs:
C:\Documents and Settings\Ewen.DM-2A1JTBXWXT6Q\Mes documents\Vitry\gamemodes\larp-1.pwn(2302) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\Documents and Settings\Ewen.DM-2A1JTBXWXT6Q\Mes documents\Vitry\gamemodes\larp-1.pwn(2331) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\Documents and Settings\Ewen.DM-2A1JTBXWXT6Q\Mes documents\Vitry\gamemodes\larp-1.pwn(2367) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\Documents and Settings\Ewen.DM-2A1JTBXWXT6Q\Mes documents\Vitry\gamemodes\larp-1.pwn(2368) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\Documents and Settings\Ewen.DM-2A1JTBXWXT6Q\Mes documents\Vitry\gamemodes\larp-1.pwn(2395) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\Documents and Settings\Ewen.DM-2A1JTBXWXT6Q\Mes documents\Vitry\gamemodes\larp-1.pwn(2877) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Ewen.DM-2A1JTBXWXT6Q\Mes documents\Vitry\gamemodes\larp-1.pwn(2888) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Ewen.DM-2A1JTBXWXT6Q\Mes documents\Vitry\gamemodes\larp-1.pwn(2900) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Ewen.DM-2A1JTBXWXT6Q\Mes documents\Vitry\gamemodes\larp-1.pwn(2904) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Ewen.DM-2A1JTBXWXT6Q\Mes documents\Vitry\gamemodes\larp-1.pwn(2916) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Ewen.DM-2A1JTBXWXT6Q\Mes documents\Vitry\gamemodes\larp-1.pwn(2920) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Ewen.DM-2A1JTBXWXT6Q\Mes documents\Vitry\gamemodes\larp-1.pwn(2924) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Ewen.DM-2A1JTBXWXT6Q\Mes documents\Vitry\gamemodes\larp-1.pwn(2928) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Ewen.DM-2A1JTBXWXT6Q\Mes documents\Vitry\gamemodes\larp-1.pwn(2932) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Ewen.DM-2A1JTBXWXT6Q\Mes documents\Vitry\gamemodes\larp-1.pwn(2936) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Ewen.DM-2A1JTBXWXT6Q\Mes documents\Vitry\gamemodes\larp-1.pwn(2940) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Ewen.DM-2A1JTBXWXT6Q\Mes documents\Vitry\gamemodes\larp-1.pwn(2944) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Ewen.DM-2A1JTBXWXT6Q\Mes documents\Vitry\gamemodes\larp-1.pwn(2956) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Ewen.DM-2A1JTBXWXT6Q\Mes documents\Vitry\gamemodes\larp-1.pwn(2960) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Ewen.DM-2A1JTBXWXT6Q\Mes documents\Vitry\gamemodes\larp-1.pwn(2964) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Ewen.DM-2A1JTBXWXT6Q\Mes documents\Vitry\gamemodes\larp-1.pwn(2968) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Ewen.DM-2A1JTBXWXT6Q\Mes documents\Vitry\gamemodes\larp-1.pwn(2972) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Ewen.DM-2A1JTBXWXT6Q\Mes documents\Vitry\gamemodes\larp-1.pwn(2984) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Ewen.DM-2A1JTBXWXT6Q\Mes documents\Vitry\gamemodes\larp-1.pwn(2988) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Ewen.DM-2A1JTBXWXT6Q\Mes documents\Vitry\gamemodes\larp-1.pwn(2992) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Ewen.DM-2A1JTBXWXT6Q\Mes documents\Vitry\gamemodes\larp-1.pwn(3004) : error 004: function "PlayerToPoint" is not implemented
Voilà et il y a 2 trucs que je trouve bizzard:
1)Ce n'est pas du tout les lignes de la commande
2)Je n'ai pas utiliser SafeGivePlayerMoney et SafeResetPlayerWeapons
Merci
Titre: Re : Besoins d'aide sur une commande
Posté par: cristab le 30 Juin 2010, 20:46:22
doit t'on repondre ou ta reponse ce trouve la par hazard ===> http://www.gtaonline.fr/forums/index.php/topic,8915.0.html (http://www.gtaonline.fr/forums/index.php/topic,8915.0.html)
Titre: Re : Besoins d'aide sur une commande
Posté par: Nesik le 30 Juin 2010, 21:07:03
Heu par contre c'est pas un copier coller,je l'est fait à la main,
Sinon merci pour ton aide  :)