Bonsoir, donc voilà j'ai fait des traductions de mon GM, seulement les textes en bleu ( je débute pwn ), a la fin, je veux compiler, et la il me marque sa...
C:\Users\mathieu\Desktop\SERVEUR OFFICIEL\gamemodes\SC-V1.pwn(46578) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
J'aimerai beaucoup avoir de l'aide, merci a vous.
Vince+
Edit: La ligne correspond a cela --->
public NameTimer(playerid)
{
for(new i = 0;i < MAX_PLAYERS;i++)
{
if(IsPlayerConnected(i))
{
for(new q = 0;q < MAX_PLAYERS;q++)
{
if(IsPlayerConnected(q))
{
new Float:p1x;
new Float:p1y;
new Float:p1z;
new Float:p2x;
new Float:p2y;
new Float:p2z;
if(IsPlayerConnected(i) && IsPlayerConnected(q))
{
GetPlayerPos(i,p1x,p1y,p1z);
GetPlayerPos(q,p2x,p2y,p2z);
if(GetPointDistanceToPointExMorph(p1x,p1y,p1z,p2x,p2y,p2z) < pdistance)
{
if(PlayerInfo[q][pMaskuse] != 1)
{
ShowPlayerNameTagForPlayer(i,q,1);
}
}
else
{
ShowPlayerNameTagForPlayer(i,q,0);
}
}
}
}
}
}
}
La première. Merci.