mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +03:00
Idlekicker: replace len hardcoded content by sizeof
This commit is contained in:
parent
8b9c107a03
commit
8071b895d2
@ -114,7 +114,7 @@ public playerSpawned(id) {
|
||||
g_spawned[id] = false
|
||||
new sid[1]
|
||||
sid[0] = id
|
||||
set_task(0.75, "delayedSpawn",_, sid, 1) // Give the player time to drop to the floor when spawning
|
||||
set_task(0.75, "delayedSpawn",_, sid, sizeof(sid)) // Give the player time to drop to the floor when spawning
|
||||
return PLUGIN_HANDLED
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user