27.02.2011, 10:00
Well because a timer didn't seem to work I made debug messages, and It seems like
it doesn't work to GetPlayerVehicleID inside a Foreach loop?
I get this error when I compile;
error 035: argument type mismatch (argument 1)
it doesn't work to GetPlayerVehicleID inside a Foreach loop?
I get this error when I compile;
error 035: argument type mismatch (argument 1)
pawn Код:
foreach(Player,i)
{
print("Foreach");
if(GetPlayerState(i)==PLAYER_STATE_DRIVER)
{
print("IfStateDriver");
vehicleid = GetPlayerVehicleID(i);
print(vehicleid); // here