Idlekicker: replace len hardcoded content by sizeof

This commit is contained in:
Freeman-AM 2014-10-11 14:39:34 +02:00
parent 8b9c107a03
commit 8071b895d2

View File

@ -114,7 +114,7 @@ public playerSpawned(id) {
g_spawned[id] = false g_spawned[id] = false
new sid[1] new sid[1]
sid[0] = id 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 return PLUGIN_HANDLED
} }