If you look at my script, you should see that when you enter the checkpoint it should open a dialog and tell you the;
Thought it doesn't display the name, only the Type and ID.
pawn Код:
public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
for(new i = 0; i < MAX_ORGS; i++)
{
if(checkpointid == OrganizationInfo[i][OrganizationPickup])
{
format(Message, sizeof(Message), "Organization Name: %s\nOrganization Type: %d\nOrganization ID: %d", OrganizationInfo[i][OrganizationName], OrganizationInfo[i][OrganizationType], OrganizationInfo[i][OrganizationID]);
ShowPlayerDialog(playerid, ORGANIZATION_DONE, DIALOG_STYLE_MSGBOX, "Organization", Message, "Ok", "Close");
}
}
return 1;
}