mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2026-04-05 15:30:04 -05:00
10 lines
No EOL
286 B
SourcePawn
10 lines
No EOL
286 B
SourcePawn
void Event_CarAlarm(Event event, const char[] name, bool dontBroadcast) {
|
|
int user = event.GetInt("userid");
|
|
int client = GetClientOfUserId(user);
|
|
if(client > 0) {
|
|
SorryData sorry;
|
|
sorry.SetEvent("car_alarm");
|
|
sorry.hurtType = "I shot the car";
|
|
PushSorry(client, sorry);
|
|
}
|
|
} |