23.03.2011, 17:47
Okey error is this: C:\Users\Vanhempien Kone\Videos\Desktop\Kaikki\WoS_SAMP\Servu\gamemode s\Stand.pwn(895) : error 004: function "infectplayer" is not implemented
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Line 894: SetTimer("EndRound", 12000, 0);
Line 895: infectplayer(randomplayer);
Line 896:AddStaticVehicleEx(548,-1955.42480469,282.80142212,49.60318756,0.00000000,-1,-1,500); //Cargobob
I have forwarded it with code: forward infectplayer(randomplayer);
+ here is the random player thing
randomplayer()
{
new randomid = random(GetPlayersOnServer());
if(!IsPlayerConnected(randomid)){ return randomplayer(); }
return randomid;
}
Thanks for helping!
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Line 894: SetTimer("EndRound", 12000, 0);
Line 895: infectplayer(randomplayer);
Line 896:AddStaticVehicleEx(548,-1955.42480469,282.80142212,49.60318756,0.00000000,-1,-1,500); //Cargobob
I have forwarded it with code: forward infectplayer(randomplayer);
+ here is the random player thing
randomplayer()
{
new randomid = random(GetPlayersOnServer());
if(!IsPlayerConnected(randomid)){ return randomplayer(); }
return randomid;
}
Thanks for helping!