Raised This Month: $51 Target: $400
 12% 

[CS:GO] Retakes (v0.3.2, 2016-4-6)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Marounda
Senior Member
Join Date: Oct 2014
Old 10-20-2017 , 10:07   Re: [CS:GO] Retakes (v0.3.2, 2016-4-6)
Reply With Quote #11

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
__________________
MER IL ET FOU's servers on our website : http://meriletfou.fr/



Last edited by Marounda; 10-20-2017 at 10:08.
Marounda is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:21.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode