Hi,
In the past i have found the way (i don't remember if it was here) to add a hint to announce the bombsite with editing spawns.sp like this :
Quote:
public Action Timer_StartPlant(Handle timer, int client) {
if (IsPlayer(client)) {
g_bombPlantSignal = true;
Format(g_BombsiteString, sizeof(g_BombsiteString), "%d", g_Bombsite);
for (int i = 1; i <= MaxClients; i++) {
if(IsValidClient(i) && GetClientTeam(i) == 3) {
if(StrEqual(g_BombsiteString, "1"))
{
PrintHintText(i, "<font size='50' color='#00FFFF'>Bombsite B</font>");
}
else if(StrEqual(g_BombsiteString, "0"))
{
PrintHintText(i, "<font size='50' color='#00FFFF'>Bombsite A</font>");
}
else
PrintHintText(i, "<font size='50' color='#00FFFF'>ERROR</font>");
}
}
}
}
|
and add this line on the retakes.sp:
Quote:
char g_BombsiteString[64];
|
When i try to compilate with your last updates i return these errors :
Quote:
//// retakes.sp
//
// retakes/spawns.sp(196) : error 035: argument type mismatch (argument 1)
// retakes/spawns.sp(196) : error 020: invalid symbol name ""
// retakes/spawns.sp(196) : error 029: invalid expression, assumed zero
// retakes/spawns.sp(196) : fatal error 189: too many error messages on one line
//
// Compilation aborted.
// 4 Errors.
|
Have you any idea please ? Maybe it's not possible to do this anymore ? Or maybe i've forget something...
Thanks in advance <3
__________________