23.06.2010, 17:28
Hello, i edited this topic because i make very much new topics about stupid question
but here;s a new question too, this is my script and i my pawno compiler crashes when
it compile :
but here;s a new question too, this is my script and i my pawno compiler crashes when
it compile :
Quote:
public ShowLicenses(playerid); { new string[100]; new string1[100]; new string2[100]; new string3[100]; new guide = dini_Int(file, "HasGuide"); new dlic = dini_Int(file, "DriveLic"); new slic = dini_Int(file, "SailLic"); new flic = dini_Int(file, "FlyLic"); new glic = dini_Int(file, "GunLic"); format(string, sizeof(string), "Guide: [%s]", (guide == 1) ? ("Yes") : ("No")); format(string1, sizeof(string1), "Driving License: [%s]", (dlic == 1) ? ("Yes") : ("No")); format(string2, sizeof(string2), "Sailing License: [%s]", (slic == 1) ? ("Yes") : ("No")); format(string3, sizeof(string3), "Weapon License: [%s]", (glic == 1) ? ("Yes") : ("No")); SendClientMessage(playerid, COLOR_GREEN, ""); SendClientMessage(playerid, COLOR_GREEN, ""); SendClientMessage(playerid, COLOR_GREEN, ""); SendClientMessage(playerid, COLOR_GREEN, ""); SendClientMessage(playerid, COLOR_GREEN, ""); SendClientMessage(playerid, COLOR_GREEN, ""); SendClientMessage(playerid, COLOR_GREEN, ""); SendClientMessage(playerid, COLOR_GREEN, ""); SendClientMessage(playerid, COLOR_GREEN, ""); SendClientMessage(playerid, COLOR_GREEN, ""); SendClientMessage(playerid, COLOR_GREEN, "[====================| Stats Menu |====================]"); SendClientMessage(playerid, COLOR_LGREEN, string); SendClientMessage(playerid, COLOR_LGREEN, string1); SendClientMessage(playerid, COLOR_LGREEN, string2); SendClientMessage(playerid, COLOR_LGREEN, string3); SendClientMessage(playerid, COLOR_GREEN, "[====================| Stats Menu |====================]"); return 1; } |