Quantcast
Channel: Forum VeryGames
Viewing all articles
Browse latest Browse all 5196

Problème dev 1.7 :$

$
0
0
Bonjour,

Sachant que je commence à Dev en 1.7 j'ai une erreur que je comprend pas x)

Citation:

public Action OnRoundStart(Handle event, char[], bool dontBroadcast)
error 001: expected token: "-identifier-", but found ","

D'où vient mon erreur ?

Et dîtes moi SMLIB n'est plus fonctionnel sous 1.7 ?

Et mon autre erreur

Citation:

public Action OnTakeDamage(int client, &attacker, &inflictor, &float damage, &damagetype)
fatal error 189: too many error messages on one line

Et la dernière erreur

Citation:

SDKUnhook(client, SDKHook_OnTakeDamage, OnTakeDamage);
Bout de code

Citation:

public OnClientDisconnect(client){
if (IsClientInGame(client))
{
if(DvStart[client])
{
FinDv(client);
CPrintToChatAll("%s %N a déconnecté pendant sa dernière volonté", Prefix, client);
}

SDKUnhook(client, SDKHook_OnTakeDamage, OnTakeDamage);
}
}
error 100: function prototypes do not match

Viewing all articles
Browse latest Browse all 5196