Bonjour a tous ,
J'aimerais savoir ou si possible m'aidez , j'ai créer un hud a droite de l'ecran mais il m'affiche aucune erreur mais en jeux il s'affiche pas voici le code
public Action:HudTimer(Handle:timer, any:client){
if (IsClientInGame(client))
{
new Handle:hBuffer = StartMessageOne("KeyHintText", client);
new String:SteamId[32];
GetClientAuthString(client, SteamId, sizeof(SteamId));
if (hBuffer == INVALID_HANDLE)
{
PrintToChat(client, "INVALID_HANDLE");
}
else
{
new String:tmptext[9999];
{
Format(tmptext, sizeof(tmptext), "=======[Roleplay By xRelaX]=======");
}
BfWriteByte(hBuffer, 1);
BfWriteString(hBuffer, tmptext);
EndMessage();
}
}
}
Besoin d'aide please ^^
Cordialement Neocriph
J'aimerais savoir ou si possible m'aidez , j'ai créer un hud a droite de l'ecran mais il m'affiche aucune erreur mais en jeux il s'affiche pas voici le code
Citation:
public Action:HudTimer(Handle:timer, any:client){
if (IsClientInGame(client))
{
new Handle:hBuffer = StartMessageOne("KeyHintText", client);
new String:SteamId[32];
GetClientAuthString(client, SteamId, sizeof(SteamId));
if (hBuffer == INVALID_HANDLE)
{
PrintToChat(client, "INVALID_HANDLE");
}
else
{
new String:tmptext[9999];
{
Format(tmptext, sizeof(tmptext), "=======[Roleplay By xRelaX]=======");
}
BfWriteByte(hBuffer, 1);
BfWriteString(hBuffer, tmptext);
EndMessage();
}
}
}
Besoin d'aide please ^^
Cordialement Neocriph