28.09.2011, 22:07
Greetings. I have a problem with OnPlayerRequestClass callback. Im using some parameters from the file and everything works fine, but weapon can't be given to a player. So it looks like:
SetSpawnInfo(playerid, 0, dini_Int(file, "Skin"), dini_Float(file, "X"), dini_Float(file, "Y"), dini_Float(file, "Z"), dini_Float(file, "A"), dini_Int(file, "Weap"), dini_Int(file, "Ammo"), 0, 0, 0, 0);
Is that a bug, or just my fault?
SetSpawnInfo(playerid, 0, dini_Int(file, "Skin"), dini_Float(file, "X"), dini_Float(file, "Y"), dini_Float(file, "Z"), dini_Float(file, "A"), dini_Int(file, "Weap"), dini_Int(file, "Ammo"), 0, 0, 0, 0);
Is that a bug, or just my fault?