Simple and nice plugin. Thanks for sharing.
Codewise, I believe you could change this :
Code:
for (new i = 0; i <= MaxClients; i++)
{
OnClientPutInServer(i);
}
to this :
Code:
for (new i = 1; i <= MaxClients; i++)
{
OnClientPutInServer(i);
}
edit :
Quote:
Originally Posted by wawazy
ok ty
but can you make it work automaticly no need to type command ??
ty
wa
|
change line #69 :
Code:
public OnClientPutInServer(client) cake[client] = 0;
to
Code:
public OnClientPutInServer(client) cake[client] = 1;
(or 2 for big cakes)
and recompile. Not tested but it should work as it did, but with everyone's default set to drop cakes.
__________________