Das hab ich bei OnGameModeInit:
if(sInfo[playerid][fraktion]==0)
{
AddPlayerClass(2, 1991.1433, 1240.2410, 10.8203, 322.2074, 0, 0, 0, 0, 0, 0);
AddPlayerClass(3, 1991.1433, 1240.2410, 10.8203, 322.2074, 0, 0, 0, 0, 0, 0);
AddPlayerClass(7, 1991.1433, 1240.2410, 10.8203, 322.2074, 0, 0, 0, 0, 0, 0);
AddPlayerClass(12, 1991.1433, 1240.2410, 10.8203, 322.2074, 0, 0, 0, 0, 0, 0);
AddPlayerClass(18, 1991.1433, 1240.2410, 10.8203, 322.2074, 0, 0, 0, 0, 0, 0);
AddPlayerClass(19, 1991.1433, 1240.2410, 10.8203, 322.2074, 0, 0, 0, 0, 0, 0);
AddPlayerClass(21, 1991.1433, 1240.2410, 10.8203, 322.2074, 0, 0, 0, 0, 0, 0);
AddPlayerClass(23, 1991.1433, 1240.2410, 10.8203, 322.2074, 0, 0, 0, 0, 0, 0);
AddPlayerClass(25, 1991.1433, 1240.2410, 10.8203, 322.2074, 0, 0, 0, 0, 0, 0);
AddPlayerClass(28, 1991.1433, 1240.2410, 10.8203, 322.2074, 0, 0, 0, 0, 0, 0);
AddPlayerClass(29, 1991.1433, 1240.2410, 10.8203, 322.2074, 0, 0, 0, 0, 0, 0);
AddPlayerClass(40, 1991.1433, 1240.2410, 10.8203, 322.2074, 0, 0, 0, 0, 0, 0);
AddPlayerClass(45, 1991.1433, 1240.2410, 10.8203, 322.2074, 0, 0, 0, 0, 0, 0);
AddPlayerClass(55, 1991.1433, 1240.2410, 10.8203, 322.2074, 0, 0, 0, 0, 0, 0);
AddPlayerClass(93, 1991.1433, 1240.2410, 10.8203, 322.2074, 0, 0, 0, 0, 0, 0);
AddPlayerClass(101, 1991.1433, 1240.2410, 10.8203, 322.2074, 0, 0, 0, 0, 0, 0);
AddPlayerClass(137, 1991.1433, 1240.2410, 10.8203, 322.2074, 0, 0, 0, 0, 0, 0);
AddPlayerClass(142, 1991.1433, 1240.2410, 10.8203, 322.2074, 0, 0, 0, 0, 0, 0);
AddPlayerClass(230, 1991.1433, 1240.2410, 10.8203, 322.2074, 0, 0, 0, 0, 0, 0);
AddPlayerClass(233, 1991.1433, 1240.2410, 10.8203, 322.2074, 0, 0, 0, 0, 0, 0);
}
Aber die abfrage geht ja sons auch immer
Wenn ich compile steht da das palyerid id undefined ist (bei der abfrage)