if windows closed - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: if windows closed (
/showthread.php?tid=562091)
if windows closed -
b00m112 - 06.02.2015
PHP код:
{
format(string, sizeof(string), "[Aknad Kinni]%s ьtleb: %s",RPN(playerid), text);
ProxDetector(12.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
format(string, sizeof(string), "%s ьtleb: %s", RPNU(playerid), text);
KirjutaLogi("chat", string);
}
[Aknad kinni] = windows closed
I want if someone talk inside the car then people outside cant see this..*
2) If admin goes to /aod then it set admin name throght ini file.. Example there is line AName = Kalle, then it set player name Kalle.
Re: if windows closed -
CalvinC - 06.02.2015
Loop through all players and check if they're in the same vehicle as the talking player, if they are, send them the message.