KeyHintText not valide ?
Hello,
I have a problem my script throws it or the message does not display.
I am no idea to resolve how this problem if you could helped that squeezed nice x)
sorry for my bad english i'm french
I have a problem my script throws it or the message does not display.
I am no idea to resolve how this problem if you could helped that squeezed nice x)
PHP Code:
public OnPluginStart()
{
HookEvent("player_spawn", OnSpawn, EventHookMode_Post);
}
public OnSpawn(Handle:event, const String:name[], bool:dontBroadcast)
{
new client = GetClientOfUserId(GetEventInt(event, "userid"));
CreateTimer(1.0, Msg_Updater, client, TIMER_REPEAT|TIMER_FLAG_NO_MAPCHANGE);
}
public Action:Msg_Updater(Handle:timer, any:client)
{
decl String:szText[999];
Format(szText, sizeof(szText), "--------------------------\n INFIRE \n--------------------------\nServeur WarCraft:Source\nIl y a 150 Races \n--------------------------\nServeur FFA: 91.121.164.49:27019\nServeur Config par iNex\n--------------------------\nMenu par iNex \n--------------------------\n");
new Handle:hBuffer = StartMessageOne("KeyHintText", client);
BfWriteByte(hBuffer, 1);
BfWriteString(hBuffer, szText);
EndMessage();
}
Orignal From: KeyHintText not valide ?
Post a Comment